Final Class Yiisoft\Yii\Runner\Http\Exception\HeadersHaveBeenSentException
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getName() | Yiisoft\ |
|
| getSolution() | Yiisoft\ |
Method Details
| public string getName ( ) |
public function getName(): string
{
return 'HTTP headers have been sent.';
}
| public ?string getSolution ( ) |
public function getSolution(): ?string
{
headers_sent($filename, $line);
return "Headers already sent in $filename on line $line\n"
. "Emitter can't send headers once the headers block has already been sent.";
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.