Lines Matching refs:expectedClass
41 * @param string $expectedClass
51 $expectedClass = null, argument
59 array($client, $request, $expectedClass)
74 * @param string $expectedClass
79 …tatic function doExecute(ClientInterface $client, RequestInterface $request, $expectedClass = null) argument
103 return self::decodeHttpResponse($response, $request, $expectedClass);
112 * @param string $expectedClass
118 $expectedClass = null argument
135 if ($expectedClass = self::determineExpectedClass($expectedClass, $request)) {
138 return new $expectedClass($json);
154 private static function determineExpectedClass($expectedClass, RequestInterface $request = null) argument
157 if (false === $expectedClass) {
163 return $expectedClass;
167 return $expectedClass ?: $request->getHeaderLine('X-Php-Expected-Class');