trait LazyTrait

Methods

$this
lazy(bool|string $lazy = true)

Sets the lazy flag of this service.

Details

at line 23
final $this lazy(bool|string $lazy = true)

Sets the lazy flag of this service.

Parameters

bool|string $lazy A FQCN to derivate the lazy proxy from or true to make it extend from the definition's class

Return Value

$this