# disco/1.3.53/vendor/micropackage/requirements/src/Interfaces/Checkable.php

Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO, version 1.3.53. 33 lines.

- Page: https://pluginprobe.com/plugins/disco/1.3.53/code/vendor/micropackage/requirements/src/Interfaces/Checkable.php
- Raw: https://pluginprobe.com/plugins/disco/1.3.53/raw/vendor/micropackage/requirements/src/Interfaces/Checkable.php
- Modified: 2024-09-18T11:17:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/disco/1.3.53/code/vendor/micropackage/requirements/src/Interfaces/Checkable.php#L10-L20`.

```php
<?php
/**
 * Checkable interface
 *
 * @package micropackage/requirements
 */

namespace Micropackage\Requirements\Interfaces;

/**
 * Checkable interface
 */
interface Checkable {

	/**
	 * Gets checker name
	 *
	 * @since  1.0.0
	 * @return string
	 */
	public function get_name();

	/**
	 * Checks if the requirement is met
	 *
	 * @since  1.0.0
	 * @param  mixed $value Value to check against.
	 * @return void
	 */
	public function check( $value );

}

```
