/** * APIEndpointDynamicSub constructor. * @param array $cache parsed swagger file for this api * @param AuthProvider $auth * @param array $pathParams array with values for dynamic parts of the path */ public function __construct($cache, $auth, $pathParams = array()) { parent::__construct($cache, $auth, $pathParams); // create instance of DynamicSub class $this->_dynamicSub = new DynamicSub($cache, $auth, $pathParams); }
/** * APIEndpointPaged constructor. * @param array $cache parsed swagger file for this api * @param AuthProvider $auth * @param array $pathParams array with values for dynamic parts of the path */ function __construct($cache, $auth, $pathParams = array()) { parent::__construct($cache, $auth, $pathParams); $this->_loaded = false; }