✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/woocommerce/src/StoreApi//Formatters.php
<?php
namespace Automattic\WooCommerce\StoreApi;

use \Exception;
use Automattic\WooCommerce\StoreApi\Formatters\DefaultFormatter;

/**
 * Formatters class.
 *
 * Allows formatter classes to be registered. Formatters are exposed to extensions via the ExtendSchema class.
 */
class Formatters {
	/**
	 * Holds an array of formatter class instances.
	 *
	 * @var array
	 */
	private $formatters = [];

	/**
	 * Get a new instance of a formatter class.
	 *
	 * @throws Exception An Exception is thrown if a non-existing formatter is used and the user is admin.
	 *
	 * @param string $name Name of the formatter.
	 * @return FormatterInterface Formatter class instance.
	 */
	public function __get( $name ) {
		if ( ! isset( $this->formatters[ $name ] ) ) {
			if ( defined( 'WP_DEBUG' ) && WP_DEBUG && current_user_can( 'manage_woocommerce' ) ) {
				throw new Exception( $name . ' formatter does not exist' );
			}
			return new DefaultFormatter();
		}
		return $this->formatters[ $name ];
	}

	/**
	 * Register a formatter class for usage.
	 *
	 * @param string $name Name of the formatter.
	 * @param string $class A formatter class name.
	 */
	public function register( $name, $class ) {
		$this->formatters[ $name ] = new $class();
	}
}


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


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
Exceptions
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
Formatters
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
Payments
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
Routes
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
Schemas
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
Utilities
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
Authentication.php
13.858 KB
23 Feb 2026 5.58 PM
builxejc / builxejc
0644
Formatters.php
1.21 KB
27 Dec 2023 12.45 AM
builxejc / builxejc
0644
Legacy.php
3.087 KB
21 Jan 2025 6.53 PM
builxejc / builxejc
0644
RoutesController.php
6.766 KB
24 Nov 2025 11.10 PM
builxejc / builxejc
0644
SchemaController.php
3.344 KB
24 Nov 2025 11.10 PM
builxejc / builxejc
0644
SessionHandler.php
4.808 KB
30 Mar 2026 5.12 PM
builxejc / builxejc
0644
StoreApi.php
3.521 KB
23 Feb 2026 5.58 PM
builxejc / builxejc
0644
deprecated.php
7.968 KB
27 Dec 2023 12.45 AM
builxejc / builxejc
0644
functions.php
2.701 KB
27 Dec 2023 12.45 AM
builxejc / builxejc
0644

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