Automattic\WooCommerce\StoreApi\Schemas\V1
AbstractSchema::__construct()
Constructor.
Method of the class: AbstractSchema{}
No Hooks.
Return
null
. Nothing.
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 7.7.0
public function __construct( ExtendSchema $extend, SchemaController $controller ) { $this->extend = $extend; $this->controller = $controller; }