Skip to content

Instantly share code, notes, and snippets.

@TuningYourCode
Created May 31, 2017 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TuningYourCode/82b2186b1971e1e1b5e74edc55452b3b to your computer and use it in GitHub Desktop.
Save TuningYourCode/82b2186b1971e1e1b5e74edc55452b3b to your computer and use it in GitHub Desktop.
Standalone Doctrine Migrations autoload own abstract migration classes
<?php
$classLoader = require 'phar://doctrine-migrations.phar/vendor/autoload.php';
$classLoader->addPsr4('DoctrineMigrations\\AbstractMigration\\', __DIR__.'/migrations/src/DoctrineMigrations/AbstractMigration');
return new \Symfony\Component\Console\Helper\HelperSet();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment