D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
t
/
a
/
t
/
tattooscyy
/
api
/
vendor
/
symfony
/
routing
/
Tests
/
Loader
/
Filename :
FileLocatorStub.php
back
Copy
<?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; } }