src/Sulu/Component/Content/Metadata/ItemMetadata.php
public function getParameter($name)
    {
        if (!isset($this->parameters[$name])) {
            throw new \InvalidArgumentException(sprintf(
                'Unknown parameter "%s", known parameters: "%s"',
                $name, implode('", "', array_keys($this->parameters))
            ));
        }

        return $this->parameters[$name];
    }
public function getParameter($name)
    {
        if (!isset($this->parameters[$name])) {
            throw new \InvalidArgumentException(sprintf(
                'Unknown parameter "%s", known parameters: "%s"',
                $name, implode('", "', array_keys($this->parameters))
            ));
        }

        return $this->parameters[$name];
    }
public function getParameter ( $ name ) { if ( ! isset ( $ this -> parameters [ $ name ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Unknown parameter "%s", known parameters: "%s"' , $ name , implode ( '", "' , array_keys ( $ this -> parameters ) ) ) ) ; } return $ this -> parameters [ $ name ] ; }
Return the paramter with the given name.

@param string $name

@return mixed
Return the paramter with the given name .