/** * * @access public * @param \CCDNForum\ForumBundle\Entity\Post $post * @return bool */ public function isLocked(Post $post) { if ($this->enabled) { return $post->isLocked(); } return false; }
/** * * @access public * @param \CCDNForum\ForumBundle\Entity\Post $post * @return bool */ public function isLocked(Post $post) { if ($this->enabled) { return $post->isLocked(); } return false; }