src/Conductors/ForbidsAbilities.php
protected function forbidAbilitiesToAuthority(array $ids, Model $authority)
    {
        $attributes = Models::scope()->getAttachAttributes(get_class($authority));

        $authority->abilities()->attach($ids, $attributes + ['forbidden' => true]);
    }
protected function forbidAbilitiesToAuthority(array $ids, Model $authority)
    {
        $attributes = Models::scope()->getAttachAttributes(get_class($authority));

        $authority->abilities()->attach($ids, $attributes + ['forbidden' => true]);
    }
protected function forbidAbilitiesToAuthority ( array $ ids , Model $ authority ) { $ attributes = Models :: scope ( ) -> getAttachAttributes ( get_class ( $ authority ) ) ; $ authority -> abilities ( ) -> attach ( $ ids , $ attributes + [ 'forbidden' => true ] ) ; }
Forbid these abilities to the given authority.

@param  array  $ids
@param  \Illuminate\Database\Eloquent\Model  $authority
@return void
Forbid these abilities to the given authority .