Sets the response's time-to-live for shared caches in seconds.


public function setTtl(int $seconds): static


    public function setTtl(int $seconds): static

    {

        $this->setSharedMaxAge($this->getAge() + $seconds);


        return $this;

    }

Powered by Froala Editor