This should probably use `isFactory` -- and I suspect this might be a bug currently present in Pimple -- not supporting extension of invokables.