/**
phpDox
Overview
Namespaces
Interfaces
Classes
Traits
Source
Overview
Classes
NextDom\Model\Entity
Cmd
hasRight
Introduction
Synopsis
Parameter
Return
Throws
Source
NextDom\Model\Entity\Cmd::
hasRight
Check if user have right to execute the action.
Signature
public function hasRight([
User
$user = NULL] )
Parameters
$user
— object
User to test
Returns
bool
True if user can execute
Errors/Exceptions
Exception