luyadev/luya-module-admin

View on GitHub
src/controllers/LoggerController.php

Summary

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

namespace luya\admin\controllers;

use luya\admin\Module;
use luya\admin\ngrest\base\Controller;

/**
 * NgRest Logger Controller
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
class LoggerController extends Controller
{
    /**
     * {@inheritDoc}
     */
    public $modelClass = 'luya\admin\models\Logger';

    /**
     * {@inheritDoc}
     */
    public $clearButton = true;

    /**
     * {@inheritDoc}
     */
    public function getDescription()
    {
        return Module::t('logger_controller_description');
    }
}