PHP Classes

File: tests/codeception/bin/yii

Recommend this page to a friend!
  Classes of Uldis Nelsons  >  YII2 Framework PHP Init  >  tests/codeception/bin/yii  >  Download  
File: tests/codeception/bin/yii
Role: Example script
Content type: text/plain
Description: Example script
Class: YII2 Framework PHP Init
Create a project based on the YII2 from template
Author: By
Last change:
Date: 2 months ago
Size: 500 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php
/**
 * Yii console bootstrap file.
 *
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

require_once __DIR__ . '/_bootstrap.php';

$config = yii\helpers\ArrayHelper::merge(
    require(
YII_APP_BASE_PATH . '/config/console.php'),
    require(
__DIR__ . '/../config/config.php')
);

$application = new yii\console\Application($config);
$exitCode = $application->run();
exit(
$exitCode);

For more information send a message to info at phpclasses dot org.