A representation of a service reference.
Can be used to resolve the service or invoke it with some arguments.
public __construct( string $id )
$id
public __toString( void ) : string
public __invoke( ... $args ) : mixed
$args
public __call( string $name, array $arguments )
$name
$arguments
public resolve( void ) : object