public function fromItem(Item $item)
    {
        foreach ($this->readTransformers as $readTransformer) {
            if ($readTransformer->isValidItem($item)) {
                return $readTransformer->fromItem($item);
            }
        }

        return $item;
    }
public function fromItem(Item $item)
    {
        foreach ($this->readTransformers as $readTransformer) {
            if ($readTransformer->isValidItem($item)) {
                return $readTransformer->fromItem($item);
            }
        }

        return $item;
    }
public function fromItem ( Item $ item ) { foreach ( $ this -> readTransformers as $ readTransformer ) { if ( $ readTransformer -> isValidItem ( $ item ) ) { return $ readTransformer -> fromItem ( $ item ) ; } } return $ item ; }
Transform an item into an object.

@param Item $item

@return mixed
Transform an item into an object .