PHP Класс 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)
Наследование: extends AbstractSourceLocator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $filename )

Защищенные методы

Метод Описание
createLocatedSource ( BetterReflection\Identifier\Identifier $identifier ) {@inheritDoc}

Описание методов

__construct() публичный Метод

public __construct ( string $filename )
$filename string

createLocatedSource() защищенный Метод

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