AclExtras::verify PHP Méthode

verify() public méthode

Verify a Acl Tree
public verify ( ) : void
Résultat void
    public function verify()
    {
        $type = Inflector::camelize($this->args[0]);
        $return = $this->Acl->{$type}->verify();
        if ($return === true) {
            $this->out(__('<success>Tree is valid and strong</success>'));
        } else {
            $this->err(print_r($return, true));
            return false;
        }
    }