public function format(array $data)
    {
        $value = parent::format($data);
        foreach ($this->list as $uri => $values) {
            if (in_array($value, $values)) {
                return $uri;
            }
        }
        return '';
    }
public function format(array $data)
    {
        $value = parent::format($data);
        foreach ($this->list as $uri => $values) {
            if (in_array($value, $values)) {
                return $uri;
            }
        }
        return '';
    }
public function format ( array $ data ) { $ value = parent :: format ( $ data ) ; foreach ( $ this -> list as $ uri => $ values ) { if ( in_array ( $ value , $ values ) ) { return $ uri ; } } return '' ; }
Format an array to expected value to be written

@param array $data
@return int|string
@throws MetadataReaderNotFoundException
Format an array to expected value to be written