src/Server.php
public function send(Response $response = null)
    {
        if ($response) {
            $this->response = $response;
        }
        $this->response->prepare($this->request);
        $this->response->send();

        // If a cacheWrite callback exists execute
        // it now to write the image to the cache
        if (is_callable($this->cacheWrite)) {
            call_user_func_array(
                $this->cacheWrite,
                array($this->cache, $this->getCachePath())
            );
        }
    }
public function send(Response $response = null)
    {
        if ($response) {
            $this->response = $response;
        }
        $this->response->prepare($this->request);
        $this->response->send();

        // If a cacheWrite callback exists execute
        // it now to write the image to the cache
        if (is_callable($this->cacheWrite)) {
            call_user_func_array(
                $this->cacheWrite,
                array($this->cache, $this->getCachePath())
            );
        }
    }
public function send ( Response $ response = null ) { if ( $ response ) { $ this -> response = $ response ; } $ this -> response -> prepare ( $ this -> request ) ; $ this -> response -> send ( ) ; // If a cacheWrite callback exists execute // it now to write the image to the cache if ( is_callable ( $ this -> cacheWrite ) ) { call_user_func_array ( $ this -> cacheWrite , array ( $ this -> cache , $ this -> getCachePath ( ) ) ) ; } }
Send the response to the browser.

@param Response $response Optional overwrite response
Send the response to the browser .