Yoast\WP\SEO\AI_Authorization\Application

Code_Generator_Interface{}interfaceYoast 1.0

Interface Code_Generator_Interface.

Хуков нет.

Использование

$Code_Generator_Interface = new Code_Generator_Interface();
// use class methods

Методы

  1. public generate( string $user_email, int $length = 10 )
  2. ERROR: no method name found on line ``

Код Code_Generator_Interface{} Yoast 27.7

interface Code_Generator_Interface {

	/**
	 * Generates a unique code using the user's email and random data.
	 *
	 * @param string $user_email The user's email.
	 * @param int    $length     The length of the returned value.
	 *
	 * @return string The generated unique code.
	 */
	public function generate( string $user_email, int $length = 10 ): string;
}