Learndash_DTO
Class: DTO class.
@package: LearnDash
Source Files: includes/dto/class-learndash-dto.php
Class: DTO class.
Method: Constructor.
Learndash_DTO::__construct Read More »
Method: Returns all properties. Keys are property names.
Learndash_DTO::all Read More »
Method: Includes a property or multiple properties in the DTO.
Learndash_DTO::only Read More »
Method: Excludes a property or multiple properties from the DTO.
Learndash_DTO::except Read More »
Method: Returns an array of properties.
Learndash_DTO::to_array Read More »
Method: Returns a json encoded array of properties.
Learndash_DTO::to_json Read More »
Method: Validates properties on construction based on validators.
Learndash_DTO::get_validators Read More »
Method: Recursively parses an array and converts DTOs to arrays.
Learndash_DTO::parse_array Read More »
Method: Returns public properties.
Learndash_DTO::validate Read More »
Method: Returns public properties.
Learndash_DTO::get_properties Read More »