We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 7 | abstract class AbstractWrapper extends AbstractRule |
||
| 8 | { |
||
| 9 | protected $validatable; |
||
| 10 | |||
| 11 | 6 | public function getValidatable() |
|
| 12 | { |
||
| 13 | 6 | if (!$this->validatable instanceof Validatable) { |
|
| 14 | 1 | throw new ComponentException('There is no defined validatable'); |
|
| 15 | } |
||
| 16 | |||
| 17 | 5 | return $this->validatable; |
|
| 18 | } |
||
| 19 | |||
| 20 | 1 | public function assert($input) |
|
| 24 | |||
| 25 | 1 | public function check($input) |
|
| 29 | |||
| 30 | 1 | public function validate($input) |
|
| 34 | |||
| 35 | 1 | public function setName($name) |
|
| 40 | } |
||
| 41 |