The composed schema response. */ public function compose( Schema_Piece_Collection $schema_pieces ): array { $composed_pieces = []; foreach ( $schema_pieces->to_array() as $piece ) { $composed_pieces[] = \array_merge( [ '@context' => 'https://schema.org', ], $piece->get_data(), ); } return $composed_pieces; } }