Ejemplo n.º 1
0
 public function isAuthorized(Photo $photo, $memberId)
 {
     return $photo->getUser()->getId() == $memberId ? true : false;
 }