Encoder.php Interfaces, Classes and Traits Encoder Apply Property definitions to an object to generate a simplified stdClass object suitable for encoding into JSON/YAML/etc.