Open cmnstmntmn opened 8 years ago
why $bh->apply([ 'block' => 'button' ]); doesn't output any html i have to use echo($bh->apply([ 'block' => 'button' ])); in order to get it
$bh->apply([ 'block' => 'button' ]);
echo($bh->apply([ 'block' => 'button' ]));
This is because you can easily output it with echo.
Better to have echo in echo $bh->apply(...); than ob-wrapper in ob_start(); $bh->apply(...); $res = ob_get_clean();, right?
echo
echo $bh->apply(...);
ob_start(); $bh->apply(...); $res = ob_get_clean();
why
$bh->apply([ 'block' => 'button' ]);
doesn't output any html i have to useecho($bh->apply([ 'block' => 'button' ]));
in order to get it