src/Conductors/Concerns/FindsAndCreatesAbilities.php
protected function createAbility($ability, $entity, $attributes)
    {
        return Models::ability()->createForModel($entity, $attributes + [
            'name' => $ability,
        ]);
    }
protected function createAbility($ability, $entity, $attributes)
    {
        return Models::ability()->createForModel($entity, $attributes + [
            'name' => $ability,
        ]);
    }
protected function createAbility ( $ ability , $ entity , $ attributes ) { return Models :: ability ( ) -> createForModel ( $ entity , $ attributes + [ 'name' => $ ability , ] ) ; }
Create an ability for the given entity.

@param  string  $ability
@param  \Illuminate\Database\Eloquent\Model|string  $entity
@param  array  $attributes
@return \Silber\Bouncer\Database\Ability
Create an ability for the given entity .