src/Support/Data/AclPresence.php
public function removePermission($permission)
    {
        $permissions = $this->permissions();

        $permissions = array_diff($permissions, [ $permission ]);

        $this->setAttribute('permissions', $permissions);
    }
public function removePermission($permission)
    {
        $permissions = $this->permissions();

        $permissions = array_diff($permissions, [ $permission ]);

        $this->setAttribute('permissions', $permissions);
    }
public function removePermission ( $ permission ) { $ permissions = $ this -> permissions ( ) ; $ permissions = array_diff ( $ permissions , [ $ permission ] ) ; $ this -> setAttribute ( 'permissions' , $ permissions ) ; }
Removes a permission from the current child permissions.

@param string $permission
Removes a permission from the current child permissions .