Automattic\WooCommerce\Api\Utils
SchemaHandle::__construct
Wrap an engine schema in a handle.
Method of the class: SchemaHandle{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SchemaHandle = new SchemaHandle(); $SchemaHandle->__construct( $engine_schema );
- $engine_schema(object) (required)
- Engine-specific schema instance the handle wraps.
SchemaHandle::__construct() SchemaHandle:: construct code WC 10.9.1
public function __construct( object $engine_schema ) {
$this->engine_schema = $engine_schema;
}