$loader = $this;
$path = $this->locator->locate($resource);
- $this->setCurrentDir(dirname($path));
+ $this->setCurrentDir(\dirname($path));
$this->container->fileExists($path);
// the closure forbids access to the private scope in the included file
*/
public function supports($resource, $type = null)
{
- if (!is_string($resource)) {
+ if (!\is_string($resource)) {
return false;
}