PHP Classes

File: tests/codeception/suites/unit/bootstrap.php

Recommend this page to a friend!
  Classes of Insolita   Yii2 Fractal   tests/codeception/suites/unit/bootstrap.php   Download  
File: tests/codeception/suites/unit/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Yii2 Fractal
Components to implement API based on JSON:API
Author: By
Last change:
Date: 2 months ago
Size: 288 bytes
 

Contents

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

Yii::setAlias('@tests', dirname(__DIR__).'/../../');