PHP Class App\Policies\DocumentPolicy

Inheritance: extends EntityPolicy
Show file Open project: hillelcoren/invoice-ninja

Public Methods

Method Description
create ( User $user, $item ) : boolean
view ( User $user, Document $document ) : boolean

Method Details

create() public static method

public static create ( User $user, $item ) : boolean
$user app\models\User
return boolean

view() public static method

public static view ( User $user, Document $document ) : boolean
$user app\models\User
$document Document
return boolean