File "EmptyProperty.php"

Full Path: /home/elegucvf/public_html/video/wp-content/wp-includes/wp-content/plugins/wordpress-seo/vendor/yoast/whip/src/Exceptions/EmptyProperty.php
File size: 349 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Yoast\WHIPv2\Exceptions;

use Exception;

/**
 * Class EmptyProperty.
 */
class EmptyProperty extends Exception {

	/**
	 * EmptyProperty constructor.
	 *
	 * @param string $property Property name.
	 */
	public function __construct( $property ) {
		parent::__construct( \sprintf( '%s cannot be empty.', (string) $property ) );
	}
}