public function getTagFiltersExpanded()
    {
        $tagFilters = $this->getTagFilters();
        if ($tagFilters === null) {
            $result = null;
        } else {
            $result = [];
            $m = null;
            foreach ($tagFilters as $tagFilter) {
                if (preg_match('/^\s*([<>=]+)\s*(\d+(?:\.\d+)?)\s*$/', $tagFilter, $m)) {
                    switch ($m[1]) {
                        case '<=':
                        case '<':
                        case '=':
                        case '>=':
                        case '>':
                            $result[] = ['operator' => $m[1], 'version' => $m[2]];
                            break;
                    }
                }
            }
        }

        return $result;
    }
public function getTagFiltersExpanded()
    {
        $tagFilters = $this->getTagFilters();
        if ($tagFilters === null) {
            $result = null;
        } else {
            $result = [];
            $m = null;
            foreach ($tagFilters as $tagFilter) {
                if (preg_match('/^\s*([<>=]+)\s*(\d+(?:\.\d+)?)\s*$/', $tagFilter, $m)) {
                    switch ($m[1]) {
                        case '<=':
                        case '<':
                        case '=':
                        case '>=':
                        case '>':
                            $result[] = ['operator' => $m[1], 'version' => $m[2]];
                            break;
                    }
                }
            }
        }

        return $result;
    }
public function getTagFiltersExpanded ( ) { $ tagFilters = $ this -> getTagFilters ( ) ; if ( $ tagFilters === null ) { $ result = null ; } else { $ result = [ ] ; $ m = null ; foreach ( $ tagFilters as $ tagFilter ) { if ( preg_match ( '/^\s*([<>=]+)\s*(\d+(?:\.\d+)?)\s*$/' , $ tagFilter , $ m ) ) { switch ( $ m [ 1 ] ) { case '<=' : case '<' : case '=' : case '>=' : case '>' : $ result [ ] = [ 'operator' => $ m [ 1 ] , 'version' => $ m [ 2 ] ] ; break ; } } } } return $ result ; }
Extracts the info for tag filter.

@return null|array(array('operator' => string, 'version' => string))
Extracts the info for tag filter .