src/Rocketeer/Tasks/Cleanup.php
protected function getReleasesToCleanup()
    {
        return $this->getOption('clean-all', true)
            ? $this->releasesManager->getNonCurrentReleases()
            : $this->releasesManager->getDeprecatedReleases();
    }
protected function getReleasesToCleanup()
    {
        return $this->getOption('clean-all', true)
            ? $this->releasesManager->getNonCurrentReleases()
            : $this->releasesManager->getDeprecatedReleases();
    }
protected function getReleasesToCleanup ( ) { return $ this -> getOption ( 'clean-all' , true ) ? $ this -> releasesManager -> getNonCurrentReleases ( ) : $ this -> releasesManager -> getDeprecatedReleases ( ) ; }
Get an array of releases to prune.

@return int[]
Get an array of releases to prune .