コード例 #1
0
ファイル: Post.php プロジェクト: swagnarok/infinity-next
 /**
  * Determines if the user can edit this post.
  *
  * @param  App\User|App\Support\Anonymous  $user
  * @return boolean
  */
 public function canEdit($user)
 {
     return $user->canEdit($this);
 }