public function __construct(LaravelRouter $router) { $this->router = $router; $this->prepareAttributes(); $this->setAdminRoutes(); }