| 1 | <?php |
||
| 7 | class DummyObserver implements SiteCheckObserverInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * No additional checks here for now. |
||
| 12 | * |
||
| 13 | * @param \SiteChecker\Asset $url |
||
| 14 | * @return bool |
||
| 15 | */ |
||
| 16 | public function pageToCheck(Asset $url) |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Do nothing. |
||
| 24 | * |
||
| 25 | * @param \SiteChecker\Asset $asset |
||
| 26 | * @param $response |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | public function pageChecked(Asset $asset, ResponseInterface $response = null) |
||
| 33 | |||
| 34 | |||
| 35 | /** |
||
| 36 | * Do nothing again. |
||
| 37 | * |
||
| 38 | * @param Asset[] $assets |
||
| 39 | */ |
||
| 40 | public function receiveResults(array $assets) |
||
| 44 | } |
||
| 45 |