File "Conditional.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/flexible-shipping/vendor_prefixed/wpdesk/wp-builder/src/Plugin/Conditional.php
File size: 499 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace FSVendor\WPDesk\PluginBuilder\Plugin;

/**
 * Something that can be instantiated/hooked conditionally.
 *
 * @see https://github.com/mwpd/basic-scaffold/blob/master/src/Infrastructure/Conditional.php by Alain Schlesser
 *
 * @package WPDesk\PluginBuilder\Plugin
 */
interface Conditional
{
    /**
     * Check whether the conditional object is currently needed.
     *
     * @return bool Whether the conditional object is needed.
     */
    public static function is_needed();
}