Method: content::end
Stops the output buffer
and flush the content or return it.
Info
Syntax
content::end($return=false)
Parameters
- $return (boolean) Pass true to return the content instead of flushing it
Return (mixed)
Example
content::start();
echo 'some content';
content::end();
// echo the content immediatelly
content::start();
echo 'some content';
$content = content::end(true);
// return the content