Bundle/MediaBundle/Entity/Media.php
public function getMetadataValue($key)
    {
        return isset($this->metadata[$key]) ? $this->metadata[$key] : null;
    }
public function getMetadataValue($key)
    {
        return isset($this->metadata[$key]) ? $this->metadata[$key] : null;
    }
public function getMetadataValue ( $ key ) { return isset ( $ this -> metadata [ $ key ] ) ? $ this -> metadata [ $ key ] : null ; }
Get the specified metadata value.

@param string $key

@return mixed|null
Get the specified metadata value .