public function setPutFromRequest()
    {
        if ($this->_put === null) {
            if ($_SERVER['REQUEST_METHOD'] == 'PUT') {
                $this->_put = file_get_contents("php://input");
            }
        } else {
            $this->_put = '';
        }
    }
public function setPutFromRequest()
    {
        if ($this->_put === null) {
            if ($_SERVER['REQUEST_METHOD'] == 'PUT') {
                $this->_put = file_get_contents("php://input");
            }
        } else {
            $this->_put = '';
        }
    }
public function setPutFromRequest ( ) { if ( $ this -> _put === null ) { if ( $ _SERVER [ 'REQUEST_METHOD' ] == 'PUT' ) { $ this -> _put = file_get_contents ( "php://input" ) ; } } else { $ this -> _put = '' ; } }
get the string sent as put
get the string sent as put