Created
March 28, 2017 19:01
-
-
Save brianium/718020b707e3f2bc339ae8fe6bc7cce7 to your computer and use it in GitHub Desktop.
Provides an interface that can be implemented by a custom Phinx migration manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface MigratorInterface | |
{ | |
/** | |
* Migrate the specified environment to a version. Migrates up if the version is null | |
* | |
* @param string $environment | |
* @param string $version | |
* @return mixed | |
*/ | |
public function migrate($environment, $version = null); | |
/** | |
* Get the buffered output of a migration operation | |
* | |
* @return string | |
*/ | |
public function getBufferedOutput(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment