find() публичный Метод

Returns teasers for given items.
public find ( array $items, string $locale ) : Teaser[]
$items array
$locale string
Результат Teaser[]
Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getContentData(PropertyInterface $property)
 {
     $value = $this->getValue($property);
     if (!is_array($value['items']) || 0 === count($value['items'])) {
         return [];
     }
     return $this->teaserManager->find($value['items'], $property->getStructure()->getLanguageCode());
 }