| 1 | <?php |
||
| 24 | class SearchFiller |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @Assert\NotBlank() |
||
| 28 | * @Assert\Url() |
||
| 29 | * |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $url = ''; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var FillerInterface|null |
||
| 36 | */ |
||
| 37 | protected $filler; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var Chain |
||
| 41 | */ |
||
| 42 | protected $chain; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param Chain $chain |
||
| 46 | */ |
||
| 47 | public function __construct(Chain $chain) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getUrl() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param string $url |
||
| 62 | * |
||
| 63 | * @return SearchFiller |
||
| 64 | */ |
||
| 65 | public function setUrl($url) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return FillerInterface|null |
||
| 74 | */ |
||
| 75 | public function getFiller() |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @param ExecutionContextInterface $context |
||
| 82 | */ |
||
| 83 | public function isUrlSupported(ExecutionContextInterface $context) |
||
| 99 | } |
||
| 100 |