src/console/VersionController.php
public function actionShow($release = null)
    {
        $version = $this->getComponent();
        $version->load();
        $version->setRelease($release);
        $dir = dirname($version->getAbspath());
        echo $version->renderFile() . PHP_EOL;
        echo "(run from $dir)\n";
    }
public function actionShow($release = null)
    {
        $version = $this->getComponent();
        $version->load();
        $version->setRelease($release);
        $dir = dirname($version->getAbspath());
        echo $version->renderFile() . PHP_EOL;
        echo "(run from $dir)\n";
    }
public function actionShow ( $ release = null ) { $ version = $ this -> getComponent ( ) ; $ version -> load ( ) ; $ version -> setRelease ( $ release ) ; $ dir = dirname ( $ version -> getAbspath ( ) ) ; echo $ version -> renderFile ( ) . PHP_EOL ; echo "(run from $dir)\n" ; }
Show current version.
@param string $release
Show current version .