This repository was archived by the owner on Oct 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +16
-4
lines changed Expand file tree Collapse file tree 6 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 33namespace Pavlusha311245 \UnitPhpSdk \Config ;
44
55/**
6- * Application class
6+ * This class presents "application" section from config
77 */
88class Application
99{
Original file line number Diff line number Diff line change 44
55use Pavlusha311245 \UnitPhpSdk \Exceptions \UnitException ;
66
7+ /**
8+ * This class presents "listeners" section from config
9+ */
710class Listener
811{
912 private string $ _link ;
Original file line number Diff line number Diff line change 44
55use Pavlusha311245 \UnitPhpSdk \Config \Routes \RouteBlock ;
66
7+ /**
8+ * This class presents "routes" section from config
9+ */
710class Route
811{
912 private array $ _routeBlocks ;
Original file line number Diff line number Diff line change 22
33namespace Pavlusha311245 \UnitPhpSdk \Enums ;
44
5+ /**
6+ * List of HTTP schemes
7+ */
58enum HttpSchemeEnum
69{
710 case HTTP ;
Original file line number Diff line number Diff line change 44
55use Exception ;
66
7+ /**
8+ * Custom exception
9+ */
710class UnitException extends Exception
811{
912 // TODO: Implement
Original file line number Diff line number Diff line change 44
55interface StatisticsInterface
66{
7- public function getConnections ();
7+ public function getConnections (): array ;
88
9- public function getRequests ();
9+ public function getRequests (): array ;
1010
11- public function getApplications ();
11+ public function getApplications (): array ;
1212}
You can’t perform that action at this time.
0 commit comments