BetterReflection\SourceLocator\Type\PhpInternalSourceLocator::getStub PHP Method

getStub() private method

Returns null if nothing is found.
private getStub ( string $className ) : string | null
$className string Should only contain [A-Za-z]
return string | null
    private function getStub($className)
    {
        if (!$this->hasStub($className)) {
            return null;
        }
        return file_get_contents($this->buildStubName($className));
    }