Constructor.
@api
string $class The service class:
array $arguments An array of arguments to pass to the service constructor:
public function __construct($class = null, array $arguments = array()) {
$this->class = $class;
$this->arguments = $arguments;
$this->calls = array();
$this->scope = ContainerInterface::SCOPE_CONTAINER;
$this->tags = array();
$this->public = true;
$this->synthetic = false;
$this->abstract = false;
$this->properties = array();
}