Controller
Controller for setting up libraries.
Source
File: src/Tickets_Plus/Libraries/Controller.php
class Controller extends Controller_Contract {
/**
* Register the controller.
*
* @since 6.1.0
*/
public function do_register(): void {
$this->container->register( Uplink_Controller::class );
}
/**
* Unregister the controller.
*
* @since 6.1.0
*
* @return void
*/
public function unregister(): void {
$this->container->get( Uplink_Controller::class )->unregister();
}
}
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
Methods
- do_register — Register the controller.
- unregister — Unregister the controller.