<?php interface CarRepositoryInterface { public function getByMark(array $cars, string $mark): array; public function getByModel(array $cars, string $model, int $expluatationYears): array; }