sehrgutesoftware/laravel5-api

View on GitHub
src/Laravel5_Api/Hooks/FormatResource.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SehrGut\Laravel5_Api\Hooks;

/**
 * This hook is called after the singl record has been retrieved
 * from the db and stored into `$context->resource`.
 */
interface FormatResource extends Hook
{
    /**
     * Apply the hook.
     *
     * @return void
     */
    public function formatResource();
}