36 lignes
824 B
PHP
Brut Vue normale Historique

2024-12-22 23:30:47 +01:00
<?php
/**
* Copyright (c) D3 Data Development (Inh. Thomas Dartsch)
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
* @link https://www.oxidmodule.com
*/
2024-12-22 23:30:47 +01:00
namespace D3\KlicktippPhpClient\Resources;
use D3\KlicktippPhpClient\Entities\FieldList;
use D3\KlicktippPhpClient\Exceptions\BaseException;
class Field extends Model
{
/**
* @throws BaseException
2024-12-22 23:30:47 +01:00
*/
public function index(): FieldList
{
$data = $this->connection->requestAndParse(
'GET',
'field.json'
2024-12-22 23:30:47 +01:00
);
return new FieldList($data);
}
}