public function destroy(Listener $listener, $id)
    {
        $content = Eloquent::findOrFail($id);

        $listener->authorize('delete', $content);

        $content->delete();

        return $listener->deletionHasSucceed($content);
    }
public function destroy(Listener $listener, $id)
    {
        $content = Eloquent::findOrFail($id);

        $listener->authorize('delete', $content);

        $content->delete();

        return $listener->deletionHasSucceed($content);
    }
public function destroy ( Listener $ listener , $ id ) { $ content = Eloquent :: findOrFail ( $ id ) ; $ listener -> authorize ( 'delete' , $ content ) ; $ content -> delete ( ) ; return $ listener -> deletionHasSucceed ( $ content ) ; }
Destroy a content.

@param  \Orchestra\Story\Contracts\Listener\Content  $listener
@param  int  $id

@return mixed
Destroy a content .