Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
CheckoutSessions::__construct
Constructor.
Method of the class: CheckoutSessions{}
No Hooks.
Returns
null. Nothing (null).
Usage
$CheckoutSessions = new CheckoutSessions(); $CheckoutSessions->__construct( $schema_controller, $schema );
- $schema_controller(SchemaController) (required)
- Schema Controller instance.
- $schema(AbstractSchema) (required)
- Schema class instance.
CheckoutSessions::__construct() CheckoutSessions:: construct code WC 10.8.1
public function __construct( $schema_controller, $schema ) {
parent::__construct( $schema_controller, $schema );
$this->order_controller = new OrderController();
$this->cart_controller = new CartController();
}