Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
CheckoutSessions::__construct
Constructor.
Метод класса: CheckoutSessions{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$CheckoutSessions = new CheckoutSessions(); $CheckoutSessions->__construct( $schema_controller, $schema );
- $schema_controller(SchemaController) (обязательный)
- Schema Controller instance.
- $schema(AbstractSchema) (обязательный)
- Schema class instance.
Код CheckoutSessions::__construct() CheckoutSessions:: construct WC 10.5.0
public function __construct( $schema_controller, $schema ) {
parent::__construct( $schema_controller, $schema );
$this->order_controller = new OrderController();
$this->cart_controller = new CartController();
}