src/Database/Titles/AbilityTitle.php
protected function getSpecificModelAbilityTitle(Model $ability)
    {
        $name = $ability->name === '*' ? 'manage' : $ability->name;

        return $this->humanize(
            $name.' '.$this->basename($ability->entity_type).' #'.$ability->entity_id
        );
    }
protected function getSpecificModelAbilityTitle(Model $ability)
    {
        $name = $ability->name === '*' ? 'manage' : $ability->name;

        return $this->humanize(
            $name.' '.$this->basename($ability->entity_type).' #'.$ability->entity_id
        );
    }
protected function getSpecificModelAbilityTitle ( Model $ ability ) { $ name = $ ability -> name === '*' ? 'manage' : $ ability -> name ; return $ this -> humanize ( $ name . ' ' . $ this -> basename ( $ ability -> entity_type ) . ' #' . $ ability -> entity_id ) ; }
Get the title for the given model ability.

@param  \Illuminate\Database\Eloquent\model  $ability
@return string
Get the title for the given model ability .