1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
PropertyFeatureCollection.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\v2\PropertyFeature;
4
5use Bitrix\Catalog\v2\BaseCollection;
6use Bitrix\Main\Result;
7
17{
19 protected $repository;
20
22 {
23 $this->repository = $repository;
24 }
25
26 public function findByFeatureId(string $featureId): ?PropertyFeature
27 {
29 foreach ($this->getIterator() as $item)
30 {
31 if ($item->getFeatureId() === $featureId)
32 {
33 return $item;
34 }
35 }
36
37 return null;
38 }
39
40 public function saveInternal(): Result
41 {
42 return new Result();
43 }
44
45 public function deleteInternal(): Result
46 {
47 return new Result();
48 }
49}
__construct(PropertyFeatureRepositoryContract $repository)
Определения PropertyFeatureCollection.php:21