Symfony\Component\DependencyInjection\Definition::setScope
Sets the scope of the service
Signature
public function setScope(string
$scope )
Parameters
$scope
— string- Whether the service must be shared or not
Returns
- Definition
- The current instance