protected function buildLocalKey($entity, array $pairs)
    {
        $keys = array_keys($pairs);

        return $this->buildKey($entity, array_combine($keys, $keys));
    }
protected function buildLocalKey($entity, array $pairs)
    {
        $keys = array_keys($pairs);

        return $this->buildKey($entity, array_combine($keys, $keys));
    }
protected function buildLocalKey ( $ entity , array $ pairs ) { $ keys = array_keys ( $ pairs ) ; return $ this -> buildKey ( $ entity , array_combine ( $ keys , $ keys ) ) ; }
Builds local key from field property pairs

@param mixed $entity
@param array $pairs

@return string
Builds local key from field property pairs