src/Storage/PDOConnector.php
public function startTransaction(): bool {
        if ($this->transactionExists) {
            return false;
        }
        $started = $this->pdo->beginTransaction();
        $this->transactionExists = $started;
        return $started;
    }
public function startTransaction(): bool {
        if ($this->transactionExists) {
            return false;
        }
        $started = $this->pdo->beginTransaction();
        $this->transactionExists = $started;
        return $started;
    }
public function startTransaction ( ) : bool { if ( $ this -> transactionExists ) { return false ; } $ started = $ this -> pdo -> beginTransaction ( ) ; $ this -> transactionExists = $ started ; return $ started ; }
starts a database transaction
@return bool
starts a database transaction