Cml\Console\Commands\Migrate\AbstractCommand::verifyMigrationDirectory PHP Метод

verifyMigrationDirectory() защищенный Метод

Verify that the migration directory exists and is writable.
protected verifyMigrationDirectory ( string $path ) : void
$path string
Результат void
    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));
        }
    }