public function getSnippet($match = null, $options = [])
    {
        if ($match !== null) {
            $this->_snippet = $this->fetchSnippet($match, $options);
        }

        return $this->_snippet;
    }
public function getSnippet($match = null, $options = [])
    {
        if ($match !== null) {
            $this->_snippet = $this->fetchSnippet($match, $options);
        }

        return $this->_snippet;
    }
public function getSnippet ( $ match = null , $ options = [ ] ) { if ( $ match !== null ) { $ this -> _snippet = $ this -> fetchSnippet ( $ match , $ options ) ; } return $ this -> _snippet ; }
Returns current snippet value or generates new one from given match.
@param string $match snippet source query
@param array $options list of options in format: optionName => optionValue
@return string snippet value
Returns current snippet value or generates new one from given match .