class PhpFileLoader extends FileLoader
PhpFileLoader loads service definitions from a PHP file. The PHP file is required and the $container variable can be used within the file to change the container.
Methods
LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource =