Automattic\WooCommerce\StoreApi\Schemas\V1
AbstractSchema::__construct
Constructor.
Method of the class: AbstractSchema{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$AbstractSchema = new AbstractSchema(); $AbstractSchema->__construct( $extend, $controller );
- $extend(ExtendSchema) (required)
- Rest Extending instance.
- $controller(SchemaController) (required)
- Schema Controller instance.
AbstractSchema::__construct() AbstractSchema:: construct code WC 9.9.3
public function __construct( ExtendSchema $extend, SchemaController $controller ) { $this->extend = $extend; $this->controller = $controller; }