You are here

public function Definition::setFile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Definition.php \Symfony\Component\DependencyInjection\Definition::setFile()

Sets a file to require before creating the service.

Parameters

string $file A full pathname to include:

Return value

Definition The current instance

1 call to Definition::setFile()
DefinitionDecorator::setFile in vendor/symfony/dependency-injection/DefinitionDecorator.php
Sets a file to require before creating the service.
1 method overrides Definition::setFile()
DefinitionDecorator::setFile in vendor/symfony/dependency-injection/DefinitionDecorator.php
Sets a file to require before creating the service.

File

vendor/symfony/dependency-injection/Definition.php, line 524

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setFile($file) {
  $this->file = $file;
  return $this;
}