\Charcoal\Ui\DashboardDashboardBuilder

Dashboard Builder

Summary

Methods
Properties
Constants
__construct()
build()
No public properties found
DEFAULT_TYPE
No protected methods found
$factory
$container
N/A
No private methods found
No private properties found
N/A

Constants

DEFAULT_TYPE

DEFAULT_TYPE

The default, concrete, dashboard model.

Properties

$factory

$factory : \Charcoal\Factory\FactoryInterface

Store the dashboard factory instance.

Type

\Charcoal\Factory\FactoryInterface

$container

$container : \Pimple\Container

Store the dependency-injection container to fulfill the required services.

Type

\Pimple\Container

Methods

__construct()

__construct(\Charcoal\Factory\FactoryInterface  $factory, \Pimple\Container  $container) 

Return a new dashboard builder.

Parameters

\Charcoal\Factory\FactoryInterface $factory

A dashboard factory.

\Pimple\Container $container

The DI container.

build()

build(array|\ArrayAccess  $options) : \Charcoal\Ui\Dashboard\DashboardInterface

Build and return a new dashboard.

Parameters

array|\ArrayAccess $options

The dashboard build options.

Returns

\Charcoal\Ui\Dashboard\DashboardInterface