ChartJSLoader implements Closure, Loader
FinalYes
Interfaces
- Closure
- Loader
Methods
- __construct() : mixed
- closure() : void
- load() : void
- withOutputPath() : self
- withOutputVar() : self
- withTemplate() : self
Methods
__construct()
public
__construct(Chart $type) : mixed
Parameters
- $type : Chart
closure()
public
closure(FlowContext $context) : void
Parameters
- $context : FlowContext
load()
public
load(Rows $rows, FlowContext $context) : void
Parameters
- $rows : Rows
- $context : FlowContext
withOutputPath()
public
withOutputPath(Path $output) : self
Parameters
- $output : Path
Return values
selfwithOutputVar()
public
withOutputVar(array<string|int, mixed> &$outputVar) : self
Parameters
- $outputVar : array<string|int, mixed>
Return values
selfwithTemplate()
public
withTemplate(Path $template) : self
Parameters
- $template : Path