ChartJSLoader implements Closure, Loader
FinalYes
Interfaces
- Closure
- Loader
Methods
- __construct() : mixed
- closure() : void
- describe() : Description|null
- fromDescription() : static
- load() : void
- withOutputPath() : self
- withOutputVar() : self
- withTemplate() : self
Methods
__construct()
public
__construct(Chart $type) : mixed
Parameters
- $type : Chart
closure()
public
closure() : void
describe()
public
describe() : Description|null
Return values
Description|nullfromDescription()
public
static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
- $data : array<string|int, mixed>
- $rebuild : Rebuild
Return values
staticload()
public
load(Rows $rows, Backend $backend) : void
Parameters
- $rows : Rows
- $backend : Backend
withOutputPath()
public
withOutputPath(Path $output[, Filesystem $filesystem = new NativeLocalFilesystem() ]) : self
Parameters
- $output : Path
- $filesystem : Filesystem = new NativeLocalFilesystem()
Return values
selfwithOutputVar()
public
withOutputVar(array<string|int, mixed> &$outputVar) : self
Parameters
- $outputVar : array<string|int, mixed>
Return values
selfwithTemplate()
public
withTemplate(Path $template[, Filesystem $filesystem = new NativeLocalFilesystem() ]) : self
Parameters
- $template : Path
- $filesystem : Filesystem = new NativeLocalFilesystem()