src/Conductors/Concerns/DisassociatesAbilities.php
protected function disassociateEveryone(array $ids)
    {
        $query = Models::query('permissions')
            ->whereNull('entity_id')
            ->where($this->constraints())
            ->whereIn('ability_id', $ids);

        Models::scope()->applyToRelationQuery($query, $query->from);

        $query->delete();
    }
protected function disassociateEveryone(array $ids)
    {
        $query = Models::query('permissions')
            ->whereNull('entity_id')
            ->where($this->constraints())
            ->whereIn('ability_id', $ids);

        Models::scope()->applyToRelationQuery($query, $query->from);

        $query->delete();
    }
protected function disassociateEveryone ( array $ ids ) { $ query = Models :: query ( 'permissions' ) -> whereNull ( 'entity_id' ) -> where ( $ this -> constraints ( ) ) -> whereIn ( 'ability_id' , $ ids ) ; Models :: scope ( ) -> applyToRelationQuery ( $ query , $ query -> from ) ; $ query -> delete ( ) ; }
Disassociate everyone from the abilities with the given IDs.

@param  array  $ids
@return void
Disassociate everyone from the abilities with the given IDs .