src/Rbac/PhpManager.php
public function hasChild($parent, $child)
    {
        return isset($this->children[$parent->name][$child->name])
            ? resolve(true)
            : reject(false);
    }
public function hasChild($parent, $child)
    {
        return isset($this->children[$parent->name][$child->name])
            ? resolve(true)
            : reject(false);
    }
{@inheritdoc}