Sets a file to require before creating the service.
@api
Parameters
string $file A full pathname to include:
Return value
Definition The current instance
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Definition.php, line 493
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjection
Code
public function setFile($file) {
$this->file = $file;
return $this;
}