Complete base implementation of services for administrative server creation
This commit is contained in:
parent
f842aae3d3
commit
8daec38622
22 changed files with 633 additions and 141 deletions
|
@ -103,11 +103,12 @@ class VariableValidatorService
|
|||
/**
|
||||
* Set this function to be running at the administrative level.
|
||||
*
|
||||
* @param bool $bool
|
||||
* @return $this
|
||||
*/
|
||||
public function setAdmin()
|
||||
public function isAdmin($bool = true)
|
||||
{
|
||||
$this->isAdmin = true;
|
||||
$this->isAdmin = $bool;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
Reference in a new issue