protected function injectServices(FactorableInterface $factorable)
    {
        if ($factorable instanceof DependenciesAwareInterface) {
            foreach ($factorable->getDependencies() as $prop => $value) {
                $reflectionProperty = new \ReflectionProperty(get_class($factorable), $prop);
                $reflectionProperty->setAccessible(true);
                $reflectionProperty->setValue($factorable, $this->container->get($value));
            }
        }
    }