protected function updatePermission()
    {
        foreach ($this->permissions() as $Permission) {
            $this->authManager->add($Permission);

            echo sprintf('    > permission `%s` added.', $Permission->name) . PHP_EOL;
        }
    }
protected function updatePermission()
    {
        foreach ($this->permissions() as $Permission) {
            $this->authManager->add($Permission);

            echo sprintf('    > permission `%s` added.', $Permission->name) . PHP_EOL;
        }
    }
protected function updatePermission ( ) { foreach ( $ this -> permissions ( ) as $ Permission ) { $ this -> authManager -> add ( $ Permission ) ; echo sprintf ( '    > permission `%s` added.' , $ Permission -> name ) . PHP_EOL ; } }
Update permissions method
Update permissions method