Controllers\xAPI\DocumentController::update PHP Method

update() public method

Creates (PUTs) a new document.
public update ( ) : Response
return Response
    public function update()
    {
        // Runs filters.
        if ($result = $this->checkVersion()) {
            return $result;
        }
        return $this->store();
    }