public function __construct() { $this->factory = new ServiceFactory(); $this->storage = new Session(); }