Lately I'm trying to adapt to the PSR standard. On the PSR-1 document it is stated that:
Files SHOULD either declare symbols (classes, functions, constants, etc.) or cause side-effects (e.g. generate output, change .ini settings, etc.) but SHOULD NOT do both.
Does this mean that writing output (lets say echo '<b>some bold text</b>';
) in a function which is in a class is what I should not do?