unglue-workflow/client

View on GitHub
src/controllers/CompileController.php

Summary

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

namespace unglue\client\controllers;

use unglue\client\base\BaseCompileController;
use yii\console\ExitCode;

/**
 * Compile all files once.
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
class CompileController extends BaseCompileController
{
    public function actionIndex($path = null)
    {
        $this->setFolder($path);
        $this->createConnections();

        return ExitCode::OK;
    }
}