October\Rain\Halcyon\Processors\Processor


Public Methods

public processInsert()

public processInsert(
    October\Rain\Halcyon\Builder $query,
    array $data
): string 

Process the data in to an insert action.

public processSelect()

public processSelect(
    October\Rain\Halcyon\Builder $query,
    array $results
): array 

Process the results of a "select" query.

public processSelectOne()

public processSelectOne(
    October\Rain\Halcyon\Builder $query,
    array $result
): array 

Process the results of a singular "select" query.

public processUpdate()

public processUpdate(
    October\Rain\Halcyon\Builder $query,
    array $data
): string 

Process the data in to an update action.

Protected Methods

protected parseTemplateContent()

protected parseTemplateContent(
    int $mtime,
    string $content,
    $fileName
): array 

Helper to break down template content in to a useful array.