public function transform(Ability $ability)
    {
        return [
            'actions' => $ability->actions,
            'conditions' => $ability->conditions,
            'id' => $ability->id,
            'subject' => $ability->subject,
        ];
    }