Phalcon\DI::getShared() optimization