/**
* Generates the pending and deploying projects for the view.
*
* @param 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));
}