Exemplo n.º 1
0
 private function canDelete(Task $task, User $user)
 {
     return $user === $task->getOwner();
 }