| 1 | <?php |
||
| 12 | class HasFunctionCheck implements EnvironmentCheck |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $functionName; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $functionName The name of the function to look for. |
||
| 21 | */ |
||
| 22 | public function __construct($functionName) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | * |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | public function check() |
||
| 39 | } |
||
| 40 |