src/Acl/Entity/Attribute/Accessor/Permissions.php
public function addPermission(Permission $permission)
    {
        $permission->setAccess($this);
        $this->permissions->add($permission);

        return $this;
    }
public function addPermission(Permission $permission)
    {
        $permission->setAccess($this);
        $this->permissions->add($permission);

        return $this;
    }
Add permission

@param \Ds\Component\Acl\Entity\Permission $permission
@return object