PHP Classes

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Insolita   Yii2 Fixture ii   tests/bootstrap.php   Download  
File: tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Yii2 Fixture ii
Generate fixture code files from templates scripts
Author: By
Last change:
Date: 2 months ago
Size: 239 bytes
 

Contents

Class file image Download
<?php
defined
('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'test');
require
__DIR__ . '/../vendor/autoload.php';
require
__DIR__ . '/../vendor/yiisoft/yii2/Yii.php';

Yii::setAlias('@tests', __DIR__);