public function __construct(MethodCallInterface $constructor = null, PropertyBag $properties, MethodCallBag $calls) { $this->constructor = $constructor; $this->properties = $properties; $this->calls = $calls; }