public function run(): void
    {
        $this->isRan = true;
        foreach ($this->getAll() as $header) {
            header($header);
        }
    }
public function run(): void
    {
        $this->isRan = true;
        foreach ($this->getAll() as $header) {
            header($header);
        }
    }
public function run ( ) : void { $ this -> isRan = true ; foreach ( $ this -> getAll ( ) as $ header ) { header ( $ header ) ; } }
The main execution method. It sets all added headers into the page.
@return void.
The main execution method . It sets all added headers into the page .