public function getArrayCopy()
    {
        $attributes = array();

        foreach($this->attributes as $key => $attribute) {
            /** @var Attribute $attribute->get */
            $attributes[$key] = $attribute->getValue();
        }

        return $attributes;
    }
public function getArrayCopy()
    {
        $attributes = array();

        foreach($this->attributes as $key => $attribute) {
            /** @var Attribute $attribute->get */
            $attributes[$key] = $attribute->getValue();
        }

        return $attributes;
    }
public function getArrayCopy ( ) { $ attributes = array ( ) ; foreach ( $ this -> attributes as $ key => $ attribute ) { /** @var Attribute $attribute->get */ $ attributes [ $ key ] = $ attribute -> getValue ( ) ; } return $ attributes ; }
Return an Array representation of the item attributes
@return array
Return an Array representation of the item attributes