public function __construct(ObjectState $objectState, $groupId) { $this->objectState = $objectState; $this->groupId = $groupId; }