1234567891011121314151617181920212223242526272829 |
- <?php
- /*
- * Copyright 2017 Aaron Scherer
- *
- * This source file is subject to the license that is bundled
- * with this source code in the file LICENSE
- *
- * @package restcord/restcord
- * @copyright Aaron Scherer 2017
- * @license MIT
- */
- namespace RestCord\Response;
- use GuzzleHttp\Command\Guzzle\GuzzleClient;
- class {{ name|title }}
- {
- {% for property, config in model.properties %}
- /**
- * @var {{ config.type|replace({"?": "null|", "snowflake": "int"}) }}
- */
- public ${{ property }};
- {% if not loop.last %}
- {% endif %}
- {% endfor %}
- }
|