Skip to content

Commit

Permalink
create AttributeResolverTrait call getAttributes() in various Reflect…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
samsonasik committed Feb 1, 2024
1 parent 6ea0eee commit b27428a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/Traits/AttributeResolverTrait.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

declare(strict_types=1);
/**
* Parser Reflection API
*
* @copyright Copyright 2015, Lisachenko Alexander <[email protected]>
*
* This source file is subject to the license that is bundled
* with this source code in the file LICENSE.
*/

namespace Go\ParserReflection\Traits;

use Go\ParserReflection\ReflectionAttribute;

trait AttributeResolverTrait
{
/**
* @return ReflectionAttribute[]
*/
public function getAttributes(?string $name = null, int $flags = 0): array
{
throw new \Exception('need to be implemented');
}
}

0 comments on commit b27428a

Please sign in to comment.