src/Routing/Route.php
protected function getWhere($name)
    {
        if (isset($this->wheres[$name])) {
            return $this->wheres[$name];
        }

        if (isset(self::$patterns[$name])) {
            return self::$patterns[$name];
        }

        return false;
    }
protected function getWhere($name)
    {
        if (isset($this->wheres[$name])) {
            return $this->wheres[$name];
        }

        if (isset(self::$patterns[$name])) {
            return self::$patterns[$name];
        }

        return false;
    }
protected function getWhere ( $ name ) { if ( isset ( $ this -> wheres [ $ name ] ) ) { return $ this -> wheres [ $ name ] ; } if ( isset ( self :: $ patterns [ $ name ] ) ) { return self :: $ patterns [ $ name ] ; } return false ; }
Get conditional pattern for route variables

@param $name
@return bool
Get conditional pattern for route variables