Zend\Console\Response
Synopsis
class Response
extends Message
implements
ResponseInterface
{
- // members
- protected bool $contentSent;
- // methods
- public bool contentSent()
- public Response setErrorLevel()
- public int|0 getErrorLevel()
- public Response sendContent()
- public void send()
- // Inherited methods from Message
- public Message setMetadata()
- public mixed getMetadata()
- public Message setContent()
- public mixed getContent()
- public string toString()
Hierarchy
Members
protected
- $content — string
- $contentSent — Zend\Console\bool
- $metadata — array
Methods
public
- contentSent() — Check if content was sent
- getErrorLevel() — Get response error level that will be returned to shell.
- send()
- sendContent() — Send content
- setErrorLevel() — Set the error level that will be returned to shell.
Inherited from Zend\Stdlib\Message
public
- getContent() — Get message content
- getMetadata() — Retrieve all metadata or a single metadatum as specified by key
- setContent() — Set message content
- setMetadata() — Set message metadata
- toString()