url = $this->baseUrl . '/backend/scope'; } /** * @param Collection_Category_Query $query * @return Scope_Collection */ public function backendActionScopeGetAll(?Collection_Category_Query $query): Scope_Collection { $options = [ 'query' => $query !== null ? (array) $query->jsonSerialize() : [], 'headers' => [ 'Authorization' => 'Bearer ' . $this->token ], ]; $response = $this->httpClient->request('GET', $this->url, $options); $data = (string) $response->getBody(); return $this->parse($data, Scope_Collection::class); } /** * @param Scope_Create $data * @return Message */ public function backendActionScopeCreate(?Scope_Create $data): Message { $options = [ 'headers' => [ 'Authorization' => 'Bearer ' . $this->token ], 'json' => $data ]; $response = $this->httpClient->request('POST', $this->url, $options); $data = (string) $response->getBody(); return $this->parse($data, Message::class); } } __halt_compiler();----SIGNATURE:----KThKoFxn8e5zphqPTsvPVhtR9U2SmFKL07gXIt33ZmS3idN2W8IJGF952Mc3LDDg3TBthaHEuAxLnb3Q4eFvJWQuDpgm9aXvUs5bdqif8qjVddVutIzq+oh71w2CxzgTacwm1yKmpj3glcseB80Hr6fILR9REa/ei47dLL3rJ3H8QNIneB3XYKcmb2znpDhaKIUyTH+OTvfJL8lEDD1cl388Sl9qsout22//25DdlR75fEdwWyK84nGkqpz/srUs+jJVTZ6qWDrYAlWLhL9dYQf9l+rz556Augqisb98uwo+TUGDT0IThLgZDcHUbQaeLgAB+p5/RVbBVX7jvVNINJ4lgt8Oorp9bT1Oa8oSIOn8djCNW1sTfxPv6eJkm/M9mh0LO3QUQH12zmU4/4eYYTCMgTjCQ7nh9paZF/YtMOmHjfR4JXvafog0RmvHChzparmIzhvMDfMGZTLkGFKr5m/xn/w9v6pxHF6AtEyC7TI5DsKe/vAybHY9ekFuOFQ2DHxsttYpABhvP89W6k9TU/N3XdqQBYHBxMm5B5kKJlg6AqOIXjJcd4VgfBrUdMCreGfyIAKXR15Lr89kQFJhi4f0OvwLTKI1hdJYHdH6rA0sw7M/U4m4sL6FcF427ReG5LYSxwvnN5c8crSiS8hNrUuly03cV0O+nCaGqoZD13g=----ATTACHMENT:----NTU0MjQ0MTU1NTcxNzI0IDUxNTEwNzY5MzIzMDgzMzIgNzMxMDE3NzYzMzYyMjQ4Mg==