| 1 | <?php |
||
| 5 | class ResponseFactory |
||
| 6 | { |
||
| 7 | const RESPONSE_NAMESPACE = 'Dwr\\OpenWeather\\Response\\'; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $responseClass; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * ResponseFactory constructor. |
||
| 16 | * @param string $responseType |
||
| 17 | */ |
||
| 18 | public function __construct($responseType) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array $data |
||
| 25 | * @return mixed |
||
| 26 | */ |
||
| 27 | public function create($data) |
||
| 31 | } |