Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Result<Tree>
Expand description

Parses source as a PHP file (the <?php ... ?>-tagged dialect, not the “assume the whole file is PHP with no tags” variant - every real Laravel source file opens with <?php).