Server IP : 170.150.155.74 / Your IP : 3.142.220.6 Web Server : Apache/2.4.53 (Debian) System : Linux b22bf132354b 5.4.0-162-generic #179-Ubuntu SMP Mon Aug 14 08:51:31 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/wordpress-seo/src/exceptions/ |
Upload File : |
<?php namespace Yoast\WP\SEO\Exceptions; use Exception; /** * Exception to use when a method does not exist. */ class Missing_Method extends Exception { /** * Creates exception for a method that does not exist in a class. * * @param string $method The method that does not exist. * @param string $class_name The class name. * * @return static Instance of the exception. */ public static function for_class( $method, $class_name ) { return new static( \sprintf( /* translators: %1$s expands to the method name. %2$s expands to the class name */ \__( 'Method %1$s() does not exist in class %2$s', 'wordpress-seo' ), $method, $class_name ) ); } }