PhpAmqpLib\Wire\GenericContent::get PHP Method

get() public method

Look for additional properties in the 'properties' dictionary, and if present - the 'delivery_info' dictionary.
public get ( string $name ) : mixed | PhpAmqpLib\Channel\AMQPChannel
$name string
return mixed | PhpAmqpLib\Channel\AMQPChannel
    public function get($name)
    {
        if (isset($this->properties[$name])) {
            return $this->properties[$name];
        }
        if (isset($this->delivery_info[$name])) {
            return $this->delivery_info[$name];
        }
        throw new \OutOfBoundsException(sprintf('No "%s" property', $name));
    }