0 follower

Final Class Yiisoft\Yii\Runner\Http\Exception\HeadersHaveBeenSentException

InheritanceYiisoft\Yii\Runner\Http\Exception\HeadersHaveBeenSentException » Exception
ImplementsYiisoft\FriendlyException\FriendlyExceptionInterface

Method Details

Hide inherited methods

getName() public method

public string getName ( )

                public function getName(): string
{
    return 'HTTP headers have been sent.';
}

            
getSolution() public method

public string|null 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.";
}