protected function guardRequiredState() { parent::guardRequiredState(); Assertion::isArray($this->values); }
protected function guardRequiredState() { parent::guardRequiredState(); Assertion::integer($this->known_revision); Assertion::regex($this->aggregate_root_identifier, '/[\\w\\.\\-_]{1,128}\\-\\w{8}\\-\\w{4}\\-\\w{4}\\-\\w{4}\\-\\w{12}\\-\\w{2}_\\w{2}\\-\\d+/'); }