protected function verifyMigrationDirectory($path)
{
if (!is_dir($path)) {
throw new \InvalidArgumentException(sprintf('Migration directory "%s" does not exist', $path));
}
if (!is_writable($path)) {
throw new \InvalidArgumentException(sprintf('Migration directory "%s" is not writable', $path));
}
}