DON'T USE THIS - NOT READ YET!, (*1)
A common library i created from pi-framework and i reused in others projects., (*2)
A set of tools and common implementations/interfaces i use as well., (*3)
HttpRequest is a utility object to execute HTTP requests supporting features like headers, cookies and authentication., (*4)
Responses are returned as HttpMessage, (*5)
My implementation for a IOC is horrible and temporary. I've wrote a custom one because i want direct implementation with cache mechanism and others providers like AbstractMetadataFactory and AbstractHydratorFactory., (*6)
The Cache Providers implements the ICacheProvider interface:, (*7)
public function get($key = null) : ?mixed; public function set($key, $value) : void; public function getArray(string $key) : ?array; public function push(string $key, string $value) : void; public function pushObject(string $key, mixed $obj) : void; public function getAs(string $key, string $className) : ?mixed; public function getMap(string $key) : ?Map<string,string>; public function pushMap(string $key, string $mapKey, string $mapValue) : void; public function contains($key) : bool;
Available Cache Providers + APC + Redis (not finished yet) + Memcached (not testes yet), (*8)
The Log Providers implements the ILogFactory interface. Each factory is responsible for returning a ILog instance (available for specific types) implementing:, (*9)
public function debug(string $message); public function error($message); public function fatal($message); public function info($message); public function warn($message);