1234567891011121314151617181920212223 |
- <?php
- /**
- * Interface of REST request content deserializer.
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Webapi\Rest\Request;
- /**
- * Interface \Magento\Framework\Webapi\Rest\Request\DeserializerInterface
- *
- */
- interface DeserializerInterface
- {
- /**
- * Parse request body into array of params.
- *
- * @param string $body Posted content from request
- * @return array|null Return NULL if content is invalid
- */
- public function deserialize($body);
- }
|