Class PHPStan\BetterReflection\SourceLocator\Type\StringSourceLocator

extends AbstractSourceLocator

This source locator simply parses the string given in the constructor as valid PHP.

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.

Methods
Methods inherited from PHPStan\BetterReflection\SourceLocator\Type\AbstractSourceLocator
locateIdentifier(), locateIdentifiersByType()