public function DefinitionDecorator::setFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/DefinitionDecorator.php \Symfony\Component\DependencyInjection\DefinitionDecorator::setFile()
Sets a file to require before creating the service.
Parameters
string $file A full pathname to include:
Return value
Definition The current instance
Overrides Definition::setFile
File
- vendor/
symfony/ dependency-injection/ DefinitionDecorator.php, line 123
Class
- DefinitionDecorator
- This definition decorates another definition.
Namespace
Symfony\Component\DependencyInjectionCode
public function setFile($file) {
$this->changes['file'] = true;
return parent::setFile($file);
}