vendor/golonka/bbcodeparser/src/Golonka/BBCode/BBCodeParser.php
/**
     * Parses the BBCode string
     * @param  string $source String containing the BBCode
     * @return string Parsed string
     */
Parses the BBCode string
@param  string $source String containing the BBCode
@return string Parsed string
Parses the BBCode string @param string $source String containing the BBCode @return string Parsed string
public function parse($source)
    {
        foreach ($this->parsers as $name => $parser) {
            $source = preg_replace($parser['pattern'], $parser['replace'], $source);
        }
        return $source;
    }
public function parse ( $ source ) { foreach ( $ this -> parsers as $ name => $ parser ) { $ source = preg_replace ( $ parser [ 'pattern' ] , $ parser [ 'replace' ] , $ source ) ; } return $ source ; }
Parses the BBCode string
 @param  string $source String containing the BBCode
 @return string Parsed string
Parses the BBCode string @param string $source String containing the BBCode @return string Parsed string