/** * Bookmark view * * @method post * @route /bookmarkview */ public function bookmarkViewAction() { $givenParameters = $this->getParams('post'); CustomviewRepository::bookmark($givenParameters['view_id'], $this->user->getId()); }