Yoast\WP\SEO\Exceptions\OAuth\Tokens
Empty_Property_Exception::__construct
Empty_Property_Exception constructor.
Метод класса: Empty_Property_Exception{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Empty_Property_Exception = new Empty_Property_Exception(); $Empty_Property_Exception->__construct( $property );
- $property(строка) (обязательный)
- The property that is empty.
Код Empty_Property_Exception::__construct() Empty Property Exception:: construct Yoast 25.3
public function __construct( $property ) { parent::__construct( \sprintf( 'Token creation failed. Property `%s` cannot be empty.', $property ), 400 ); }