public function get(MetadatableInterface $object, $namespace, $key)
    {
        return $this->findOneBy(array(
            'hash' => $this->getMetadatableManager()->generateHash($object),
            'namespace' => $namespace,
            'key' => $key,
        ));
    }
public function get(MetadatableInterface $object, $namespace, $key)
    {
        return $this->findOneBy(array(
            'hash' => $this->getMetadatableManager()->generateHash($object),
            'namespace' => $namespace,
            'key' => $key,
        ));
    }
public function get ( MetadatableInterface $ object , $ namespace , $ key ) { return $ this -> findOneBy ( array ( 'hash' => $ this -> getMetadatableManager ( ) -> generateHash ( $ object ) , 'namespace' => $ namespace , 'key' => $ key , ) ) ; }
Get metadata related to an object, a namespace and a key.

@param MetadatableInterface $object
@param string               $namespace
@param string               $key

@return IDCI\Bundle\SimpleMetadataBundle\Entity\Metadata | null
Get metadata related to an object a namespace and a key .