소스 검색

__toString for Response

walkor 4 년 전
부모
커밋
5dbf3339e8
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      Protocols/Http/Request.php

+ 8 - 0
Protocols/Http/Request.php

@@ -605,6 +605,14 @@ class Request
     }
 
     /**
+     * __toString.
+     */
+    public function __toString()
+    {
+        return $this->_buffer;
+    }
+
+    /**
      * __destruct.
      *
      * @return void