OpenSkill\Datatable\Composers\ColumnComposer::__construct PHP Метод

__construct() публичный Метод

Will create a new datatable composer instance with the given provider
public __construct ( OpenSkill\Datatable\Providers\Provider $provider, VersionEngine $versionEngine, Illuminate\Contracts\View\Factory $viewFactory, Illuminate\Contracts\Config\Repository $configRepository )
$provider OpenSkill\Datatable\Providers\Provider the provider that will process the underlying data
$versionEngine OpenSkill\Datatable\Versions\VersionEngine The version engine to handle the request data
$viewFactory Illuminate\Contracts\View\Factory The factory providing the views
$configRepository Illuminate\Contracts\Config\Repository The repository providing the user defined options
    public function __construct(Provider $provider, VersionEngine $versionEngine, Factory $viewFactory, Repository $configRepository)
    {
        $this->provider = $provider;
        $this->version = $versionEngine;
        $this->viewFactory = $viewFactory;
        $this->configRepository = $configRepository;
    }