Documentation

ShareTrait

Table of Contents

share()  : $this
Sets if the service must be shared or not.

Methods

share()

Sets if the service must be shared or not.

public final share([bool $shared = true ]) : $this
Parameters
$shared : bool = true
Return values
$this

Search results