src/Console/Command/Routes.php
protected function filterByVersions(array $route)
    {
        foreach ($this->option('versions') as $version) {
            if (Str::contains($route['versions'], $version)) {
                return true;
            }
        }

        return false;
    }
protected function filterByVersions(array $route)
    {
        foreach ($this->option('versions') as $version) {
            if (Str::contains($route['versions'], $version)) {
                return true;
            }
        }

        return false;
    }
protected function filterByVersions ( array $ route ) { foreach ( $ this -> option ( 'versions' ) as $ version ) { if ( Str :: contains ( $ route [ 'versions' ] , $ version ) ) { return true ; } } return false ; }
Filter the route by its versions.

@param array $route

@return bool
Filter the route by its versions .