public function getUsername() { return $this->username; }
public function isAuthor(\FOS\UserBundle\Model\User $user) { return $this->getAuthor() == $user->getUsername(); }