src/Micrometa/Ports/Item/Item.php
public function getProperties()
    {
        $propertyList = (new PropertyListFactory())->create();
        foreach ($this->item->getProperties() as $propertyName => $propertyValues) {
            $propertyList[$propertyName] = array_map([$this, 'getPropertyValue'], $propertyValues);
        }

        return $propertyList;
    }
public function getProperties()
    {
        $propertyList = (new PropertyListFactory())->create();
        foreach ($this->item->getProperties() as $propertyName => $propertyValues) {
            $propertyList[$propertyName] = array_map([$this, 'getPropertyValue'], $propertyValues);
        }

        return $propertyList;
    }
public function getProperties ( ) { $ propertyList = ( new PropertyListFactory ( ) ) -> create ( ) ; foreach ( $ this -> item -> getProperties ( ) as $ propertyName => $ propertyValues ) { $ propertyList [ $ propertyName ] = array_map ( [ $ this , 'getPropertyValue' ] , $ propertyValues ) ; } return $ propertyList ; }
Return all properties

@return PropertyListInterface Properties
@api
Return all properties