PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.2.5
Pods – Custom Content Types and Fields v3.2.5
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / src / Pods / CLI / Commands / Pod.php
pods / src / Pods / CLI / Commands Last commit date
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