kraken-php / framework

Asynchronous & Fault-tolerant PHP Framework for Distributed Applications.
http://kraken-php.com
MIT License
1.12k stars 59 forks source link

Create FilesystemFactory #29

Closed khelle closed 8 years ago

khelle commented 8 years ago

Kraken already posses FilesystemAdapterFactory class which has definition for creating all filesystem adapters. This adapter is then injected into newly created instance of Filesystem. It would be useful to automatize this further and create FilesystemFactory which, using the same interface, would be able to create instances of filesystem which already injected proper adapter.