class ScaffoldResult (View source)

internal  
 

Record the result of a scaffold operation.

Properties

protected ScaffoldFilePath $destination

The path to the scaffold file that was processed.

protected bool $managed

Indicates if this scaffold file is managed by the scaffold command.

Methods

__construct(ScaffoldFilePath $destination, bool $isManaged = FALSE)

ScaffoldResult constructor.

bool
isManaged()

Determines whether this scaffold file is managed.

destination()

Gets the destination scaffold file that this result refers to.

Details

__construct(ScaffoldFilePath $destination, bool $isManaged = FALSE)

ScaffoldResult constructor.

Parameters

ScaffoldFilePath $destination

The path to the scaffold file that was processed.

bool $isManaged

(optional) Whether this result is managed. Defaults to FALSE.

bool isManaged()

Determines whether this scaffold file is managed.

Return Value

bool

TRUE if this scaffold file is managed, FALSE if not.

ScaffoldFilePath destination()

Gets the destination scaffold file that this result refers to.

Return Value

ScaffoldFilePath

The destination path for the scaffold result.