Base.php
4 years ago
Field.php
4 years ago
Group.php
4 years ago
Playbook.php
3 years ago
Pod.php
4 years ago
Tools.php
3 years ago
Pod.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Pods\CLI\Commands; |
| 4 | |
| 5 | /** |
| 6 | * Class Pod |
| 7 | * |
| 8 | * @since 2.8.0 |
| 9 | */ |
| 10 | class Pod extends Base { |
| 11 | |
| 12 | /** |
| 13 | * @var string |
| 14 | */ |
| 15 | protected $command = 'pod'; |
| 16 | |
| 17 | /** |
| 18 | * Setup endpoint object. |
| 19 | * |
| 20 | * @since 2.8.0 |
| 21 | */ |
| 22 | public function __construct() { |
| 23 | $this->endpoint_archive = pods_container( 'pods.rest-v1.endpoints.pods' ); |
| 24 | $this->endpoint_single = pods_container( 'pods.rest-v1.endpoints.pod' ); |
| 25 | $this->endpoint_single_slug = pods_container( 'pods.rest-v1.endpoints.pod-slug' ); |
| 26 | } |
| 27 | } |
| 28 |