luyadev/luya

View on GitHub
core/console/ErrorHandler.php

Summary

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

namespace luya\console;

use luya\traits\ErrorHandlerTrait;

/**
 * Console/CLI ErrorHandler.
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
class ErrorHandler extends \yii\console\ErrorHandler
{
    use ErrorHandlerTrait;
    
    /**
     * @var string This propertie has been added in order to make sure console commands config
     * does also work in console env.
     */
    public $errorAction;
}