original_string: 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'));
          }
      }
code: 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'));
          }
      }
code_tokens: 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' ) ) ; } }
docstring: 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).
docstring_tokens: show database mgration status task . using phinx .