You are here

public function MessageInterface::setMetadata in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-stdlib/src/MessageInterface.php \Zend\Stdlib\MessageInterface::setMetadata()

Set metadata

Parameters

string|int|array|\Traversable $spec:

mixed $value:

1 method overrides MessageInterface::setMetadata()
Message::setMetadata in vendor/zendframework/zend-stdlib/src/Message.php
Set message metadata

File

vendor/zendframework/zend-stdlib/src/MessageInterface.php, line 20

Class

MessageInterface

Namespace

Zend\Stdlib

Code

public function setMetadata($spec, $value = null);