How to get a tag with two classes using xpath?

Is the html structure of the form:
// .catalog-items-list.view-list > .item > .catalog-item-inner
How to get element with two classes .catalog-items-list.view-list

while that is possible to obtain elements with only one class without a parent with 2
$product = $xpath->query('//div[@class="item"]/div[contains(@class, "catalog-item-inner")]');
March 12th 20 at 08:40
2 answers
March 12th 20 at 08:42
Solution
"//div[contains(@class, 'catalog-items-list') and contains(@class, 'view-list')]"
March 12th 20 at 08:44
Solution
solution found:
$product = $xpath->query('//div[contains(@class, "catalog-items-list")]/div[@class="item"]/div[contains(@class, "catalog-item-inner")]');

Find more questions by tags PHP