Files
yii2/tests/unit/TestCase.php
Zander Baldwin 4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00

17 lines
299 B
PHP

<?php
namespace yiiunit;
class TestCase extends \yii\test\TestCase
{
public static $params;
public function getParam($name)
{
if (self::$params === null) {
self::$params = require(__DIR__ . '/data/config.php');
}
return isset(self::$params[$name]) ? self::$params[$name] : null;
}
}