/home/player95/public_html/mmsbee24.xyz/wp-includes/Requests/src/Hooks.php
<?php
/**
 * Handles adding and dispatching events
 *
 * @package Requests\EventDispatcher
 */

namespace WpOrg\Requests;

use WpOrg\Requests\Exception\InvalidArgument;
use WpOrg\Requests\HookManager;
use WpOrg\Requests\Utility\InputValidator;

/**
 * Handles adding and dispatching events
 *
 * @package Requests\EventDispatcher
 */
class Hooks implements HookManager {
	/**
	 * Registered callbacks for each hook
	 *
	 * @var array
	 */
	protected $hooks = [];

	/**
	 * Register a callback for a hook
	 *
	 * @param string $hook Hook name
	 * @param callable $callback Function/method to call on event
	 * @param int $priority Priority number. <0 is executed earlier, >0 is executed later
	 * @throws \WpOrg\Requests\Exception\InvalidArgument When the passed $hook argument is not a string.
	 * @throws \WpOrg\Requests\Exception\InvalidArgument When the passed $callback argument is not callable.
	 * @throws \WpOrg\Requests\Exception\InvalidArgument When the passed $priority argument is not an integer.
	 */
	public function register($hook, $callback, $priority = 0) {
		if (is_string($hook) === false) {
			throw InvalidArgument::create(1, '$hook', 'string', gettype($hook));
		}

		if (is_callable($callback) === false) {
			throw InvalidArgument::create(2, '$callback', 'callable', gettype($callback));
		}

		if (InputValidator::is_numeric_array_key($priority) === false) {
			throw InvalidArgument::create(3, '$priority', 'integer', gettype($priority));
		}

		if (!isset($this->hooks[$hook])) {
			$this->hooks[$hook] = [
				$priority => [],
			];
		} elseif (!isset($this->hooks[$hook][$priority])) {
			$this->hooks[$hook][$priority] = [];
		}

		$this->hooks[$hook][$priority][] = $callback;
	}

	/**
	 * Dispatch a message
	 *
	 * @param string $hook Hook name
	 * @param array $parameters Parameters to pass to callbacks
	 * @return boolean Successfulness
	 * @throws \WpOrg\Requests\Exception\InvalidArgument When the passed $hook argument is not a string.
	 * @throws \WpOrg\Requests\Exception\InvalidArgument When the passed $parameters argument is not an array.
	 */
	public function dispatch($hook, $parameters = []) {
		if (is_string($hook) === false) {
			throw InvalidArgument::create(1, '$hook', 'string', gettype($hook));
		}

		// Check strictly against array, as Array* objects don't work in combination with `call_user_func_array()`.
		if (is_array($parameters) === false) {
			throw InvalidArgument::create(2, '$parameters', 'array', gettype($parameters));
		}

		if (empty($this->hooks[$hook])) {
			return false;
		}

		if (!empty($parameters)) {
			// Strip potential keys from the array to prevent them being interpreted as parameter names in PHP 8.0.
			$parameters = array_values($parameters);
		}

		ksort($this->hooks[$hook]);

		foreach ($this->hooks[$hook] as $priority => $hooked) {
			foreach ($hooked as $callback) {
				$callback(...$parameters);
			}
		}

		return true;
	}

	public function __wakeup() {
		throw new \LogicException( __CLASS__ . ' should never be unserialized' );
	}
}
Path: home/player95/public_html/mmsbee24.xyz/wp-includes/Requests/src
  • [D] Auth
  • [D] Cookie
  • [D] Exception
  • [D] Proxy
  • [D] Response
  • [D] Transport
  • [D] Utility
  • [F] Auth.php
  • [F] Autoload.php
  • [F] Capability.php
  • [F] Cookie.php
  • [F] Exception.php
  • [F] HookManager.php
  • [F] Hooks.php
  • [F] IdnaEncoder.php
  • [F] Ipv6.php
  • [F] Iri.php
  • [F] Port.php
  • [F] Proxy.php
  • [F] Requests.php
  • [F] Response.php
  • [F] Session.php
  • [F] Ssl.php
  • [F] Transport.php
Page not found – mmsbee24
Skip to content

mmsbee24

  • Sample Page
  • Homepage
  • Error 404

Oops! That page can’t be found.

It looks like nothing was found at this location. Maybe try one of the links below or a search?

Random videos

Indian Milf ur_khwahishh pussy fingering, boobs pressing and Ass Showing
9
Indian Milf ur_khwahishh pussy fingering, boobs pressing and Ass Showing
Cute desi lady sexy navel and boobs in pink saree
8
Cute desi lady sexy navel and boobs in pink saree
Hot Ellie Sharma Quick Boob Flash and Teasing on Tango Live
1
Hot Ellie Sharma Quick Boob Flash and Teasing on Tango Live
Goddess Janisha Superb 121 Live Show
1
Goddess Janisha Superb 121 Live Show
Gunjan Aras-instagram Model & Gandi baat 4 fame
2
Gunjan Aras-instagram Model & Gandi baat 4 fame
Gandi Baat Anveshi Jain Flora Saini
2
Gandi Baat Anveshi Jain Flora Saini
Khwahish Private StripChat Show
17
Khwahish Private StripChat Show
fucking with Isabel,Jerk off with REAL GIRLS in sex video chat
0 17:27
fucking with Isabel,Jerk off with REAL GIRLS in sex video chat
Khwahish Hot Show Live Ass Slap
5
Khwahish Hot Show Live Ass Slap
Bringing stranger girl to my bedroom and fucked her pussy,hunter Asia
4 20:13
Bringing stranger girl to my bedroom and fucked her pussy,hunter Asia
Chubby babe riding
1
Chubby babe riding

Archives

  • November 2025

Categories

  • App Content
  • Big Boobs
  • Desi
  • StripChat
  • Tango
  • Uncategorized
All rights reserved. Powered by WP-Script.com
Registration is disabled.

Login to mmsbee24

Lost Password?

Reset Password

Enter the username or e-mail you used in your profile. A password reset link will be sent to you by email.


Loading...

Don't have an account? Sign up Already have an account? Login