W3cubDocs

/Symfony 4.1

FileTrait

trait FileTrait

Methods

$this file(string $file)

Sets a file to require before creating the service.

Details

final $this file(string $file)

Sets a file to require before creating the service.

Parameters

string $file A full pathname to include

Return Value

$this