method parse documentation in bbn\Parsers\Doc

Parses the current source

function() { preg_match_all($this->pattern['start'], $this->source, $matches, PREG_OFFSET_CAPTURE); if (isset($matches[0])) { foreach ($matches[0] as $match) { preg_match($this->pattern['end'], $this->source, $mat, PREG_OFFSET_CAPTURE, $match[1]); $start = $match[1]; $length = isset($mat[0]) ? ($mat[0][1] - $start) + 3 : 0; if ($db = $this->parseDocblock(substr($this->source, $start, $length))) { $this->parsed[] = $db; } } } return $this->parsed; }

Parses the current source BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.