final class FusionSourceCode (View source)

Methods

__construct(string|null $filePath, string|Closure $sourceCodeOrFactory)

No description

fromString(string $string)

No description

fromFilePath(string $filePath)

No description

string
getSourceCode()

No description

string|null
getFilePath()

No description

Details

protected __construct(string|null $filePath, string|Closure $sourceCodeOrFactory)

No description

Parameters

string|null $filePath
string|Closure $sourceCodeOrFactory

static FusionSourceCode fromString(string $string)

No description

Parameters

string $string

Return Value

FusionSourceCode

static FusionSourceCode fromFilePath(string $filePath)

No description

Parameters

string $filePath

Return Value

FusionSourceCode

static FusionSourceCode fromDangerousPotentiallyDifferingSourceCodeAndFilePath(string $sourceCode, string $filePath)

Parameters

string $sourceCode
string $filePath

Return Value

FusionSourceCode

string getSourceCode()

No description

Return Value

string

string|null getFilePath()

No description

Return Value

string|null