src/Common/Reflection/Annotations.php
public function getAllMethods($tags = '*'): array
    {
        $a = [];
        /** @var ReflectionMethod $m */
        foreach ($this->class->getMethods() as $m) {
            $comment = $m->getDocComment();
            $a = array_merge($a, [$m->name => $this->parse($comment, $tags)]);
        }
        return $a;
    }
public function getAllMethods($tags = '*'): array
    {
        $a = [];
        /** @var ReflectionMethod $m */
        foreach ($this->class->getMethods() as $m) {
            $comment = $m->getDocComment();
            $a = array_merge($a, [$m->name => $this->parse($comment, $tags)]);
        }
        return $a;
    }
public function getAllMethods ( $ tags = '*' ) : array { $ a = [ ] ; /** @var ReflectionMethod $m */ foreach ( $ this -> class -> getMethods ( ) as $ m ) { $ comment = $ m -> getDocComment ( ) ; $ a = array_merge ( $ a , [ $ m -> name => $ this -> parse ( $ comment , $ tags ) ] ) ; } return $ a ; }
Get all methods annotations tags

@param  mixed   $tags   Tag(s) to retrieve, by default($tags = '*'), it look for every tags
@return array
Get all methods annotations tags