Skip to content

Instantly share code, notes, and snippets.

View iamkirkbater's full-sized avatar

Kirk Bater iamkirkbater

View GitHub Profile
<?php
namespace Illuminate\Foundation\Testing;
/**
* Assert that a given where condition does not matches a soft deleted record
*
* @param string $table
* @param array $data
* @param string $connection
<?php
if ( !class_exists( 'DB' ) ) {
class DB {
public function __construct($user, $password, $database, $host = 'localhost') {
$this->user = $user;
$this->password = $password;
$this->database = $database;
$this->host = $host;
}
protected function connect() {