REBELinBLUE\Deployer\Composers\HeaderComposer::compose PHP Метод

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

Generates the pending and deploying projects for the view.
public compose ( Illuminate\Contracts\View\View $view )
$view Illuminate\Contracts\View\View
    public function compose(View $view)
    {
        $pending = $this->deploymentRepository->getPending();
        $view->with('pending', $pending);
        $view->with('pending_count', count($pending));
        $deploying = $this->deploymentRepository->getRunning();
        $view->with('deploying', $deploying);
        $view->with('deploying_count', count($deploying));
    }