Symfony\Component\Config\Loader\FileLoader::import
Imports a resource.
Signature
public function import(mixed
$resource,
[string
$type = null,
[Boolean
$ignoreErrors = false,
[string
$sourceResource = null]]] )
Parameters
$resource
—
mixed
- A Resource
$type
—
string
- The resource type
$ignoreErrors
—
object
- Whether to ignore import errors or not
$sourceResource
—
string
- The original resource importing the new resource
Returns
- mixed
Errors/Exceptions
-
FileLoaderLoadException
-
FileLoaderImportCircularReferenceException
Parent Implementation