/** * Determines if the user can edit this post. * * @param App\Contracts\PermissionUser $user * @return boolean */ public function canEdit($user) { return $user->canEdit($this); }
/** * Determines if the user can edit this post. * * @param App\Contracts\PermissionUser $user * @return boolean */ public function canEdit($user) { return $user->canEdit($this); }