Bluz\Http\CacheControl::setPublic PHP Method

setPublic() public method

It makes the response eligible for serving other clients.
public setPublic ( ) : void
return void
    public function setPublic()
    {
        $this->doDeleteContainer('private');
        $this->doSetContainer('public', true);
        $this->updateCacheControlHeader();
    }