Controllers\xAPI\StatementStoreController::store PHP Method

store() public method

Stores (POSTs) a newly created statement in storage.
public store ( $options ) : Response
return Response
    public function store($options)
    {
        if (LockerRequest::hasParam(StatementController::STATEMENT_ID)) {
            throw new Exceptions\Exception('Statement ID parameter is invalid.');
        }
        return IlluminateResponse::json($this->createStatements($options), 200, $this->getCORSHeaders());
    }