Introduce a scalable statistics architecture including `statistics` class, interface, and related implementations. Added support for tracking new bookings with routes and data handling through `bookings_s` and `statistic_t`. Integrated the feature into the application using autoloaders and response mechanisms.
18 lines
252 B
PHP
18 lines
252 B
PHP
<?php
|
|
|
|
namespace classes;
|
|
|
|
use interfaces\statistics_i;
|
|
use statistics\bookings_s;
|
|
|
|
class statistics implements statistics_i
|
|
{
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function bookings(): bookings_s
|
|
{
|
|
return new bookings_s();
|
|
}
|
|
} |