PHP Class BetterReflection\SourceLocator\Type\PhpInternalSourceLocator

Inheritance: extends AbstractSourceLocator
Exibir arquivo Open project: roave/better-reflection Class Usage Examples

Public Methods

Method Description
__construct ( )
hasStub ( string $className ) : boolean Determine if a stub exists for specified class name

Protected Methods

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

Private Methods

Method Description
buildStubName ( string $className ) : string | null Determine the stub name
getInternalReflectionClassName ( BetterReflection\Identifier\Identifier $identifier ) : null | string
getStub ( string $className ) : string | null Get the stub source code for an internal class.

Method Details

__construct() public method

public __construct ( )

createLocatedSource() protected method

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

hasStub() public method

Determine if a stub exists for specified class name
public hasStub ( string $className ) : boolean
$className string
return boolean