public function __construct(Application $app) { parent::__construct($app); $this->notesService = $app['notes.service']; }
/** * Called for routes of type class:method. * Routes of type class::method are called statically. */ public function __construct($container) { parent::__construct($container); }