protected function insertPrivileges(array $privileges)
    {
        foreach ($privileges as $privilege) {
            $this->{$privilege->getType()}(
                $privilege->getRole(), $privilege->getResource(), $privilege->getPrivilege()
            );
        }

        return $this;
    }