27 private function getParamStore()
29 return $this->
getRequest()->getParam(
'store') ?:
'all';
35 private function getSchemaType()
37 if (!$this->hasSchemaTypes()) {
41 $schemaTypeCode = $this->
getRequest()->getParam(
43 $this->getDefaultSchemaTypeCode()
46 if (!array_key_exists($schemaTypeCode, $this->getSchemaTypes())) {
47 throw new \UnexpectedValueException(
48 new Phrase(
'Unknown schema type supplied')
52 return $this->getSchemaTypes()[$schemaTypeCode];
61 if ($this->getSchemaType() ===
null) {
66 $this->getSchemaType()->getSchemaUrlPath($this->getParamStore());