/**
* Import an external routing resource and returns the RouteCollectionBuilder.
*
- * $routes->import('blog.yml', '/blog');
+ * $routes->import('blog.yml', '/blog');
*
* @param mixed $resource
* @param string|null $prefix
if ($this->loader->supports($resource, $type)) {
$collections = $this->loader->load($resource, $type);
- return is_array($collections) ? $collections : array($collections);
+ return \is_array($collections) ? $collections : array($collections);
}
if (null === $resolver = $this->loader->getResolver()) {
$collections = $loader->load($resource, $type);
- return is_array($collections) ? $collections : array($collections);
+ return \is_array($collections) ? $collections : array($collections);
}
}