mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 14:29:30 +08:00
Appended newlines to every PHP document that did not have a newline as the last character in the file.
17 lines
299 B
PHP
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;
|
|
}
|
|
}
|