Wrong Pimple\Container::factory usage.