Created
April 21, 2015 12:02
-
-
Save albe/350cb9346cfd68bd954a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Delete a forum post | |
* | |
* @param \Examples\Forum\Domain\Model\Post $post | |
* @logged | |
* @return void | |
*/ | |
public function deletePost(Post $post) { | |
$this->posts->remove($post); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment