phalconplus Documentation v1.3.0-development
Class
Class PhalconPlus Contracts Auth

# Policy

        namespace PhalconPlus\Contracts\Auth;
    use Phalcon\Mvc\Model;

    interface Policy
    {
        public function list( user,  model) -> bool;
        public function view( user,  model) -> bool;
        public function delete( user,  model) -> bool;
        public function create( user,  model) -> bool;
        public function update( user,  model) -> bool;
    }