Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\Translate\InlineInterface $translateInline) | |
encode ($data) | |
Protected Attributes | |
$translateInline | |
Definition at line 11 of file Encoder.php.
__construct | ( | \Magento\Framework\Translate\InlineInterface | $translateInline | ) |
\Magento\Framework\Translate\InlineInterface | $translateInline |
Definition at line 23 of file Encoder.php.
encode | ( | $data | ) |
Encode the mixed $data into the JSON format.
mixed | $data |
Implements EncoderInterface.
Definition at line 34 of file Encoder.php.
|
protected |
Definition at line 18 of file Encoder.php.