Method parse
- Info
-
<?php public function parse ($input, bool $retVal = true); ?>
Transforms funcdown syntax to desired markup. Chews content, be it raw array or funcdown string or filepath. Optionally fills populated object with usable property values.
- Arguments
-
@input
- Valid funcdown array, valid funcdown string, valid filepath.@retVal
- Optional.
- Return Value
-
If $
retVal
is set totrue
, returns funcdownobject
, with populated data. How much data is preserved within object is based on runtime factors or overall configuration. If $retVal
is set tofalse
, further manipulation is required with release or expose methods.