luyadev/luya-module-admin

View on GitHub
src/ngrest/render/RenderInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace luya\admin\ngrest\render;

use luya\admin\ngrest\ConfigInterface;

/**
 * NgRest Render Interface.
 *
 * All NgRest renderers must implement this interface.
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
interface RenderInterface
{
    /**
     * Setter method for the NgRestConfig.
     *
     * @param ConfigInterface $config
     */
    public function setConfig(ConfigInterface $config);

    /**
     * Renders the current ngrest renderer.
     */
    public function render();
}