You are here

public function DefinitionDecorator::setFile in Zircon Profile 8

Same name and namespace in other branches
  1. 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\DependencyInjection

Code

public function setFile($file) {
  $this->changes['file'] = true;
  return parent::setFile($file);
}