public function save(Request $request)
    {
        $connection = app(\Illuminate\Database\ConnectionInterface::class);
        $this->prepareRelatedValues($this->getRequestData());

        $this->transactionLevel = $connection->transactionLevel();
        $connection->beginTransaction();
        // Nothing to do here...
    }
public function save(Request $request)
    {
        $connection = app(\Illuminate\Database\ConnectionInterface::class);
        $this->prepareRelatedValues($this->getRequestData());

        $this->transactionLevel = $connection->transactionLevel();
        $connection->beginTransaction();
        // Nothing to do here...
    }
public function save ( Request $ request ) { $ connection = app ( \ Illuminate \ Database \ ConnectionInterface :: class ) ; $ this -> prepareRelatedValues ( $ this -> getRequestData ( ) ) ; $ this -> transactionLevel = $ connection -> transactionLevel ( ) ; $ connection -> beginTransaction ( ) ; // Nothing to do here... }
Saves request.

@param \Illuminate\Http\Request $request
Saves request .