/** * @param Post $post * @return string */ public function getPostUrl($post) { return $this->getUrl('/' . $post->getUrlKey(), 'post'); }