protected function registerStorage(DiInterface $di)
    {
        $di->set(StorageInterface::class, function () {
            $config = $this->get(Services::CONFIG);

            return new $config->migrations->storage;
        }, true);
    }
protected function registerStorage(DiInterface $di)
    {
        $di->set(StorageInterface::class, function () {
            $config = $this->get(Services::CONFIG);

            return new $config->migrations->storage;
        }, true);
    }
protected function registerStorage ( DiInterface $ di ) { $ di -> set ( StorageInterface :: class , function ( ) { $ config = $ this -> get ( Services :: CONFIG ) ; return new $ config -> migrations -> storage ; } , true ) ; }
Register Migrations\Storage

@param \Phalcon\DiInterface $di
Register Migrations \ Storage