*/ private $post_types; /** * The constructor. * * @param array $post_types The post types to include in the schema map. */ public function __construct( array $post_types ) { $this->post_types = $post_types; } /** * Gets the post types to include in the schema map. * * @return array The post types. */ public function get_post_types(): array { return $this->post_types; } }