Note: This section is under development.
Helper classes typically contain static methods only and are used as follows:
use \yii\helpers\Html;
echo Html::encode('Test > test');
There are several classes provided by framework:
- ArrayHelper
- Console
- FileHelper
- Html
- HtmlPurifier
- Image
- Inflector
- Json
- Markdown
- Security
- StringHelper
- Url
- VarDumper