PHP Class BetterReflection\SourceLocator\Type\AbstractSourceLocator

Inheritance: implements BetterReflection\SourceLocator\Type\SourceLocator
Afficher le fichier Open project: roave/better-reflection Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Locator $astLocator = null )
locateIdentifier ( BetterReflection\Reflector\Reflector $reflector, BetterReflection\Identifier\Identifier $identifier ) {@inheritDoc}
locateIdentifiersByType ( BetterReflection\Reflector\Reflector $reflector, BetterReflection\Identifier\IdentifierType $identifierType ) {@inheritDoc}

Méthodes protégées

Méthode Description
createLocatedSource ( BetterReflection\Identifier\Identifier $identifier ) : BetterReflection\SourceLocator\Located\LocatedSource Children should implement this method and return a LocatedSource object which contains the source and the file from which it was located.

Method Details

__construct() public méthode

public __construct ( Locator $astLocator = null )
$astLocator BetterReflection\SourceLocator\Ast\Locator

createLocatedSource() abstract protected méthode

Children should implement this method and return a LocatedSource object which contains the source and the file from which it was located.
abstract protected createLocatedSource ( BetterReflection\Identifier\Identifier $identifier ) : BetterReflection\SourceLocator\Located\LocatedSource
$identifier BetterReflection\Identifier\Identifier
Résultat BetterReflection\SourceLocator\Located\LocatedSource

locateIdentifier() public méthode

{@inheritDoc}
public locateIdentifier ( BetterReflection\Reflector\Reflector $reflector, BetterReflection\Identifier\Identifier $identifier )
$reflector BetterReflection\Reflector\Reflector
$identifier BetterReflection\Identifier\Identifier

locateIdentifiersByType() final public méthode

{@inheritDoc}
final public locateIdentifiersByType ( BetterReflection\Reflector\Reflector $reflector, BetterReflection\Identifier\IdentifierType $identifierType )
$reflector BetterReflection\Reflector\Reflector
$identifierType BetterReflection\Identifier\IdentifierType