Files
faveo/vendor/symfony/routing/Tests/Loader/FileLocatorStub.php
Manish Verma 1ac0f42a58 Laravel 5.6 updates
Travis config update

Removed HHVM script as Laravel no longer support HHVM after releasing 5.3
2018-08-07 10:17:09 +05:30

18 lines
381 B
PHP

<?php
namespace Symfony\Component\Routing\Tests\Loader;
use Symfony\Component\Config\FileLocatorInterface;
class FileLocatorStub implements FileLocatorInterface
{
public function locate($name, $currentPath = null, $first = true)
{
if (0 === strpos($name, 'http')) {
return $name;
}
return rtrim($currentPath, '/').'/'.$name;
}
}