PHPColibri/framework

View on GitHub
Migration/Console/Command.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Colibri\Migration\Console;

use Colibri\Console\Command as ColibriCommand;

/**
 * Abstract for Any Migration Command.
 *
 * @method Application getApplication()
 */
abstract class Command extends ColibriCommand
{
    const COMMAND_NS = 'Colibri\Migration\Console\Command\\';

    /**
     * @param string $option
     *
     * @return array|mixed|null
     */
    public function config(string $option)
    {
        return $this->getApplication()->getConfig($option);
    }
}