trait ShareTrait

Methods

$this
share(bool $shared = true)

Sets if the service must be shared or not.

Details

final $this share(bool $shared = true)

Sets if the service must be shared or not.

Parameters

bool $shared Whether the service must be shared or not

Return Value

$this