| 1 |
<?php |
| 2 |
namespace Barn2\PTS_Lib; |
| 3 |
|
| 4 |
/** |
| 5 |
* An object which is loaded conditionally. |
| 6 |
* |
| 7 |
* @package Barn2\barn2-lib |
| 8 |
* @author Barn2 Plugins <support@barn2.com> |
| 9 |
* @license GPL-3.0 |
| 10 |
* @copyright Barn2 Media Ltd |
| 11 |
*/ |
| 12 |
interface Conditional { |
| 13 |
|
| 14 |
/** |
| 15 |
* Is this object required? |
| 16 |
* |
| 17 |
* @return boolean true if required, false otherwise. |
| 18 |
*/ |
| 19 |
public function is_required(); |
| 20 |
|
| 21 |
} |
| 22 |
|