🏠 Root
/
home
/
artorgp
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
ai
/
authorization
/
application
/
Editing: code-generator-interface.php
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\AI\Authorization\Application; /** * Interface Code_Generator_Interface. */ 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; }
Save
Cancel