context = $context; $this->table = $table; $this->queries = $queries; $this->ajax_controller = $ajax_controller; $this->frontend_controller = $frontend_controller; } /** * Provides an Ajax controller object. * * @return AjaxControllerInterface */ public function get_ajax_controller(): AjaxControllerInterface { return $this->ajax_controller; } /** * Provides a Frontend object. * * @return FrontendControllerInterface */ public function get_frontend_controller(): FrontendControllerInterface { return $this->frontend_controller; } /** * Provides a Table object. * * @return TableInterface */ public function table(): TableInterface { return $this->table; } /** * Provides a Queries object. * * @return QueriesInterface */ public function queries(): QueriesInterface { return $this->queries; } /** * Provides a Context object. * * @return ContextInterface */ public function get_context(): ContextInterface { return $this->context; } }