File: /home/prospack/public_html/wp-content/plugins/astra-sites/inc/lib/ai-builder/inc/api/api-base.php
<?php
/**
* API base.
*
* @package {{package}}
* @since 0.0.1
*/
namespace AiBuilder\Inc\Api;
/**
* Api_Base
*
* @since 0.0.1
*/
abstract class Api_Base extends \WP_REST_Controller {
/**
* Endpoint namespace.
*
* @var string
*/
protected $namespace = 'ai-builder/v1';
/**
* Constructor
*
* @since 0.0.1
*/
public function __construct() {
}
/**
* Get API namespace.
*
* @since 0.0.1
* @return string
*/
public function get_api_namespace() {
return $this->namespace;
}
}