Failed Conditions
Pull Request — master (#10)
by Maximo
03:05
created

cli/tasks/AclTask.php (1 issue)

1
<?php
0 ignored issues
show
End of line character is invalid; expected "\n" but found "\r\n"
Loading history...
2
3
namespace Gewaer\Cli\Tasks;
4
5
use Phalcon\Cache\Backend\Libmemcached;
6
use Phalcon\Cli\Task as PhTask;
7
8
/**
9
 * Class ClearcacheTask
10
 *
11
 * @package Niden\Cli\Tasks
12
 *
13
 * @property Libmemcached $cache
14
 */
15
class AclTask extends PhTask
16
{
17
    /**
18
     * Create the default roles of the system
19
     */
20
    public function mainAction()
21
    {
22
        $this->acl->addRole('Default.Administrator');
23
        $this->acl->addRole('Default.Agents');
24
        $this->acl->addRole('Default.Users');
25
    }
26
}
27