PhpBrew\Command\EachCommand::getVersions PHP Method

getVersions() protected method

protected getVersions ( )
    protected function getVersions()
    {
        $versions = Config::getInstalledPhpVersions();
        return array_map(function ($version) {
            return str_replace('php-', '', $version);
        }, $versions);
    }