interface MessageInterface in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-stdlib/src/MessageInterface.php \Zend\Stdlib\MessageInterface
- 8 vendor/psr/http-message/src/MessageInterface.php \Psr\Http\Message\MessageInterface
- 8 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-stdlib/src/MessageInterface.php \Zend\Stdlib\MessageInterface
Hierarchy
- interface \Zend\Stdlib\MessageInterface
Expanded class hierarchy of MessageInterface
All classes that implement MessageInterface
File
- vendor/
zendframework/ zend-stdlib/ src/ MessageInterface.php, line 12
Namespace
Zend\StdlibView source
interface MessageInterface {
/**
* Set metadata
*
* @param string|int|array|\Traversable $spec
* @param mixed $value
*/
public function setMetadata($spec, $value = null);
/**
* Get metadata
*
* @param null|string|int $key
* @return mixed
*/
public function getMetadata($key = null);
/**
* Set content
*
* @param mixed $content
* @return mixed
*/
public function setContent($content);
/**
* Get content
*
* @return mixed
*/
public function getContent();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MessageInterface:: |
public | function | Get content | 1 |
MessageInterface:: |
public | function | Get metadata | 1 |
MessageInterface:: |
public | function | Set content | 1 |
MessageInterface:: |
public | function | Set metadata | 1 |