DSL References
DSL stands for Domain Specific Language. In Flow, the DSL is a set of small functions that wrap object construction so pipelines read top-to-bottom. See the examples for usage in context.
HELPER
LOADER
to_chartjs(Chart $type) : ChartJSLoader /**
* @param Chart $type
* @param null|Path|string $output - @deprecated use $loader->withOutputPath() instead
* @param null|Path|string $template - @deprecated use $loader->withTemplate() instead
*/
to_chartjs_file(Chart $type, Path|string|null $output, Path|string|null $template) : ChartJSLoader /**
* @param Chart $type
* @param array<array-key, mixed> $output - @deprecated use $loader->withOutputVar() instead
*/
to_chartjs_var(Chart $type, array $output) : ChartJSLoader