<?php
namespace App\Policies;
use App\Article;
use App\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class ArticlePolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any articles.
*
* @param \App\User $user
* @return mixed
*/
public function viewAny(User $user)
{
//
}
/**
* Determine whether the user can view the article.
*
* @param \App\User $user
* @param \App\Article $article
* @return mixed
*/
public function view(User $user, Article $article)
{
//
}
/**
* Determine whether the user can create articles.
*
* @param \App\User $user
* @return mixed
*/
public function create(User $user)
{
//
}
/**
* Determine whether the user can update the article.
*
* @param \App\User $user
* @param \App\Article $article
* @return mixed
*/
public function update(User $user, Article $article)
{
//
}
/**
* Determine whether the user can delete the article.
*
* @param \App\User $user
* @param \App\Article $article
* @return mixed
*/
public function delete(User $user, Article $article)
{
//
}
/**
* Determine whether the user can restore the article.
*
* @param \App\User $user
* @param \App\Article $article
* @return mixed
*/
public function restore(User $user, Article $article)
{
//
}
/**
* Determine whether the user can permanently delete the article.
*
* @param \App\User $user
* @param \App\Article $article
* @return mixed
*/
public function forceDelete(User $user, Article $article)
{
//
}
}