Zend\Json\Encoder::_encodeConstants
Encode the constants associated with the ReflectionClass parameter. The encoding format is based on the class2 format
Signature
private function _encodeConstants(ReflectionClass
$cls )
Parameters
$cls
— ReflectionClass
Returns
- string
- Encoded constant block in class2 format