src/Chiron/Http/Cookie/CookiesManager.php
public function set($name, $value)
    {
        if (! is_array($value)) {
            $value = ['value' => (string) $value];
        }
        $this->responseCookies[$name] = array_replace($this->defaults, $value);
    }
public function set($name, $value)
    {
        if (! is_array($value)) {
            $value = ['value' => (string) $value];
        }
        $this->responseCookies[$name] = array_replace($this->defaults, $value);
    }
public function set ( $ name , $ value ) { if ( ! is_array ( $ value ) ) { $ value = [ 'value' => ( string ) $ value ] ; } $ this -> responseCookies [ $ name ] = array_replace ( $ this -> defaults , $ value ) ; }
Set response cookie.

@param string       $name  Cookie name
@param string|array $value Cookie value, or cookie properties
Set response cookie .