src/Rbac/PhpManager.php
protected function save()
    {
        $promises = [
            $this->saveItems(),
            $this->saveAssignments(),
            $this->saveRules(),
        ];
        return all($promises);
    }
protected function save()
    {
        $promises = [
            $this->saveItems(),
            $this->saveAssignments(),
            $this->saveRules(),
        ];
        return all($promises);
    }
Saves authorization data into persistent storage.
@return ExtendedPromiseInterface when finished