PHP Class BetterReflection\SourceLocator\Type\StringSourceLocator

Note that this source locator does NOT specify a filename, because we did not load it from a file, so it will be null if you use this locator.
Inheritance: extends AbstractSourceLocator
Mostra file Open project: roave/better-reflection Class Usage Examples

Public Methods

Method Description
__construct ( string $source )

Protected Methods

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

Method Details

__construct() public method

public __construct ( string $source )
$source string

createLocatedSource() protected method

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