Files
faveo/vendor/torann/geoip/tests/TestFunctions.php

22 lines
479 B
PHP

<?php
if (!function_exists('storage_path')) {
function storage_path($path = '')
{
return __DIR__ . DIRECTORY_SEPARATOR . 'tmp' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
}
}
if (!function_exists('env')) {
function env($key, $default = null)
{
return $key;
}
}
if (! function_exists('app')) {
function app($key = null, $default = null)
{
return \Torann\GeoIP\Tests\TestCase::$functions->app($key, $default);
}
}