PHP Class BetterReflection\SourceLocator\Type\SingleFileSourceLocator

This is useful for loading a class that does not have a namespace. This is also the class required if you want to use Reflector->getClassesFromFile (which loads all classes from specified file)
Inheritance: extends AbstractSourceLocator
Afficher le fichier Open project: roave/better-reflection Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $filename )

Méthodes protégées

Méthode Description
createLocatedSource ( BetterReflection\Identifier\Identifier $identifier ) {@inheritDoc}

Method Details

__construct() public méthode

public __construct ( string $filename )
$filename string

createLocatedSource() protected méthode

{@inheritDoc}
protected createLocatedSource ( BetterReflection\Identifier\Identifier $identifier )
$identifier BetterReflection\Identifier\Identifier