Devise\Models\Scaffolding\Types\CrudScaffolding::setPages PHP Method

setPages() protected method

Sets the pages that need to be created for this scaffold to work in Devise
protected setPages ( ) : void;
return void;
    protected function setPages()
    {
        $this->pages = [['language_id' => 45, 'view' => 'admin.' . $this->constants['snakeCasePlural'] . '.index', 'title' => 'Admin ' . $this->constants['pluralCase'], 'http_verb' => 'get', 'slug' => '/admin/' . $this->constants['slug'], 'response_type' => 'View', 'route_name' => 'admin-' . $this->constants['slug'] . '-index', 'middleware' => 'devise.permissions:ifNotLoggedInGoToLogin'], ['language_id' => 45, 'view' => 'admin.' . $this->constants['snakeCasePlural'] . '.create', 'title' => 'Admin Create ' . $this->constants['singularCase'], 'http_verb' => 'get', 'slug' => '/admin/' . $this->constants['slug'] . '/create', 'response_type' => 'View', 'route_name' => 'admin-' . $this->constants['slug'] . '-create', 'middleware' => 'devise.permissions:ifNotLoggedInGoToLogin'], ['language_id' => 45, 'view' => 'admin.' . $this->constants['snakeCasePlural'] . '.edit', 'title' => 'Admin Edit ' . $this->constants['singularCase'], 'http_verb' => 'get', 'slug' => '/admin/' . $this->constants['slug'] . '/edit/{' . $this->constants['singularVar'] . 'id}', 'response_type' => 'View', 'route_name' => 'admin-' . $this->constants['slug'] . '-edit', 'middleware' => 'devise.permissions:ifNotLoggedInGoToLogin']];
    }