Source of file ConverterInterface.php
Size: 0,888 Bytes - Last Modified: 2018-11-03T09:50:48-04:00
G:/AdobeConnectClient/src/Converter/ConverterInterface.php
1234567891011121314151617181920212223242526272829303132333435 | <?php namespace AdobeConnectClient\Converter; use InvalidArgumentException; use AdobeConnectClient\Connection\ResponseInterface; interface ConverterInterface { /** * Converts the data into an associative array with camelCase keys * * Example: * [ * 'status' => [ * 'code' => 'invalid', * 'invalid' => [ * 'field' => 'login', * 'type' => 'string', * 'subcode' => 'missing', * ], * ], * 'common' => [ * 'zoneId' => 3, * 'locale' => '', * ], * ]; * * @param ResponseInterface $response * @throws InvalidArgumentException if data is invalid * @return array */ public static function convert(ResponseInterface $response); } |