src/Rbac/PhpManager.php
public function canAddChild($parent, $child)
    {
        return !$this->detectLoop($parent, $child) ? resolve(true) : reject(false);
    }
public function canAddChild($parent, $child)
    {
        return !$this->detectLoop($parent, $child) ? resolve(true) : reject(false);
    }
{@inheritdoc}