src/main/php/response/Cookie.php
public static function create(string $name, string $value = null): self
    {
        return new self($name, $value);
    }
public static function create(string $name, string $value = null): self
    {
        return new self($name, $value);
    }
public static function create ( string $ name , string $ value = null ) : self { return new self ( $ name , $ value ) ; }
creates the cookie

@param   string  $name   name of the cookie
@param   string  $value  value of the cookie
@return  \stubbles\webapp\response\Cookie
creates the cookie