src/CommandBus/Config/StatusHandler.php
protected function printPendingVersion(Version $version, $style)
    {
        /** @var Version $version */
        $id = $version->getId();
        $reflectionClass = new \ReflectionClass($version->getMigration());
        $absolutePath = $reflectionClass->getFileName();
        $fileName = $absolutePath ? $this->getRelativePath(getcwd(), $absolutePath) : '';
        $this->output->writeln("\t<$style>[$id] $fileName</$style>");
    }
protected function printPendingVersion(Version $version, $style)
    {
        /** @var Version $version */
        $id = $version->getId();
        $reflectionClass = new \ReflectionClass($version->getMigration());
        $absolutePath = $reflectionClass->getFileName();
        $fileName = $absolutePath ? $this->getRelativePath(getcwd(), $absolutePath) : '';
        $this->output->writeln("\t<$style>[$id] $fileName</$style>");
    }
protected function printPendingVersion ( Version $ version , $ style ) { /** @var Version $version */ $ id = $ version -> getId ( ) ; $ reflectionClass = new \ ReflectionClass ( $ version -> getMigration ( ) ) ; $ absolutePath = $ reflectionClass -> getFileName ( ) ; $ fileName = $ absolutePath ? $ this -> getRelativePath ( getcwd ( ) , $ absolutePath ) : '' ; $ this -> output -> writeln ( "\t<$style>[$id] $fileName</$style>" ) ; }
Formats and prints a pending version with the given style.

@param Version $version The Version to print.
@param string $style One of the STYLE_* constants.
Formats and prints a pending version with the given style .