SAREhub\Commons\Misc

Classes Summary
ArrayHelper
Dsn Helper builder for DSN string format: <transport>://endpoint
EnvironmentHelper
GenericFactory Factory with registry of available creators
InvokableProvider Used in DI containers like php-di to standardize factory pattern. Inspired by JSR-330 http://javax-inject.github.io/javax-inject/api/index.html. Simple call provider get() method
PackFormat
Parameters Class for operate on custom configurations
PeriodicTimer Calls callback in specified time interval(default 1 sec)
SimpleSemafor Semafor implementation based on file exists
SqliteHashStorage Simple implemntation of HashStorage, where hashes are store in sqlite3 database
TimeProvider Time provider for better control time operations with time frezing future.
UuidGenerator Helper class for generate UUID
Interfaces Summary
HashStorage
Provider Interface used in DI containers like php-di to standardize factory pattern. Inspired by JSR-330 http://javax-inject.github.io/javax-inject/api/index.html.
Exceptions Summary
NotFoundParameterException
ParameterException