Reflection class for an {@}method in a Docblock.

CloneableFinalInstantiable
ExtendsphpDocumentor\Reflection\DocBlock\Tags\BaseTag
ImplementsphpDocumentor\Reflection\DocBlock\Tag
phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod
Methods
public __construct( $methodName, array $arguments = [], ?phpDocumentor\Reflection\Type $returnType = NULL, $static = false, ?phpDocumentor\Reflection\DocBlock\Description $description = NULL)
public __toString()
public static create( $body, ?phpDocumentor\Reflection\TypeResolver $typeResolver = NULL, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL)
 


    public getArguments()
     


    • return string[]
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getDescription()
    public getMethodName()
     
    Retrieves the method name.

    • return string
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getName()
     
    Gets the name of this tag.

    • return string The name of this tag.
    public getReturnType()
     


    • return Type
    public isStatic()
     
    Checks whether the method tag describes a static method or not.

    • return bool TRUE if the method declaration is for a static method, FALSE otherwise.
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::render(?phpDocumentor\Reflection\DocBlock\Tags\Formatter $formatter = NULL)
    Properties
    protected phpDocumentor\Reflection\DocBlock\Tags\BaseTag::$description
     


    • var Description|null Description of the tag.
    protected $name
    Properties
    private $arguments
     


    • var string[]
    private $isStatic
     


    • var bool
    private $methodName
     


    • var string
    private $returnType
     


    • var Type
    Methods
    private filterArguments( $arguments)
    private static stripRestArg( $argument)
    Methods
    public static create( $body, ?phpDocumentor\Reflection\TypeResolver $typeResolver = NULL, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL)
     


      private static stripRestArg( $argument)
      © 2020 Bruce Wells
      Search Namespaces \ Classes
      ConfigurationNumbers (0-9.) only