Sets the number of seconds after which the response should no longer be considered fresh.


public function setMaxAge(int $value): static


    public function setMaxAge(int $value): static

    {

        $this->headers->addCacheControlDirective('max-age', $value);


        return $this;

    }

Powered by Froala Editor