PHP Class BetterReflection\SourceLocator\Ast\Exception\ParseToAstFailure

Inheritance: extends RuntimeException
Mostra file Open project: roave/better-reflection Class Usage Examples

Public Methods

Method Description
fromLocatedSource ( BetterReflection\SourceLocator\Located\LocatedSource $locatedSource, Exception | Throwable $previous = null ) : ParseToAstFailure

Method Details

fromLocatedSource() public static method

public static fromLocatedSource ( BetterReflection\SourceLocator\Located\LocatedSource $locatedSource, Exception | Throwable $previous = null ) : ParseToAstFailure
$locatedSource BetterReflection\SourceLocator\Located\LocatedSource
$previous Exception | Throwable
return ParseToAstFailure