PHP Class PHPSA\Analyzer\Pass\Statement\TestAnnotation

Inheritance: implements PHPSA\Analyzer\Pass\AnalyzerPassInterface, use trait PHPSA\Analyzer\Helper\DefaultMetadataPassTrait
Show file Open project: ovr/phpsa

Protected Properties

Property Type Description
$docBlockFactory phpDocumentor\Reflection\DocBlockFactory

Public Methods

Method Description
__construct ( ) Creates a DocBlockFactory
getRegister ( ) : array
pass ( ClassMethod $methodStmt, Context $context ) : boolean

Method Details

__construct() public method

Creates a DocBlockFactory
public __construct ( )

getRegister() public method

public getRegister ( ) : array
return array

pass() public method

public pass ( ClassMethod $methodStmt, Context $context ) : boolean
$methodStmt PhpParser\Node\Stmt\ClassMethod
$context PHPSA\Context
return boolean

Property Details

$docBlockFactory protected property

protected DocBlockFactory,phpDocumentor\Reflection $docBlockFactory
return phpDocumentor\Reflection\DocBlockFactory