Remote::postfields PHP 메소드

postfields() 보호된 메소드

Internal method to handle post field data
protected postfields ( mixed $data ) : mixed
$data mixed
리턴 mixed
    protected function postfields($data)
    {
        if (is_object($data) || is_array($data)) {
            return http_build_query($data);
        } else {
            return $data;
        }
    }