public function statusTask(Option $option)
    {
        $databases = $this->getDatabases($option);

        foreach ($databases as $alias => $database) {
            $manager = $this->getManager($alias, $database);
            $manager->printStatus($this->application->getEnv(), $option->get('format'));
        }
    }
public function statusTask(Option $option)
    {
        $databases = $this->getDatabases($option);

        foreach ($databases as $alias => $database) {
            $manager = $this->getManager($alias, $database);
            $manager->printStatus($this->application->getEnv(), $option->get('format'));
        }
    }
public function statusTask ( Option $ option ) { $ databases = $ this -> getDatabases ( $ option ) ; foreach ( $ databases as $ alias => $ database ) { $ manager = $ this -> getManager ( $ alias , $ database ) ; $ manager -> printStatus ( $ this -> application -> getEnv ( ) , $ option -> get ( 'format' ) ) ; } }
show database mgration status task. using phinx.

usage:
$ ./app db:status [version]

@option      format,f            output format. (default is text)
@option      database,d=all      target database (default is all databases).
show database mgration status task . using phinx .