| 1 | <?php |
||
| 10 | class CmsPageUrlPathChecker implements UrlPathUsedChecker |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var CmsPageCollectionFactory |
||
| 14 | */ |
||
| 15 | private $cmsPageCollectionFactory; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param CmsPageCollectionFactory $cmsPageCollectionFactory |
||
| 19 | */ |
||
| 20 | public function __construct(CmsPageCollectionFactory $cmsPageCollectionFactory) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param UrlPath $urlPath |
||
| 27 | * @param int $storeId |
||
| 28 | * |
||
| 29 | * @return EntityData[] |
||
| 30 | */ |
||
| 31 | public function check(UrlPath $urlPath, int $storeId) : array |
||
| 45 | } |
||
| 46 |
This check looks for function calls that miss required arguments.