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

Creates ObjectState array of objects from provided $data.
public createObjectStateListFromData ( array $data ) : eZ\Publish\SPI\Persistence\Content\ObjectState[]
$data array
Результат eZ\Publish\SPI\Persistence\Content\ObjectState[]
Пример #1
0
 /**
  * This method returns the ordered list of object states of a group
  *
  * @param mixed $groupId
  *
  * @return \eZ\Publish\SPI\Persistence\Content\ObjectState[]
  */
 public function loadObjectStates($groupId)
 {
     $data = $this->objectStateGateway->loadObjectStateListData($groupId);
     return $this->objectStateMapper->createObjectStateListFromData($data);
 }