/** * Bind a view to the specified View Creators * * @param string $view The view to bind * @param array $creators The View Creators to bind the view to * * @return void */ protected function createView($view, array $creators) { foreach ($creators as $creator) { $this->viewFactory->creator($view, $creator); } }