Login   Register  
PHP Classes
elePHPant
Icontem

File: tests/bootstrap.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cesar D. Rodas  >  Autocomplete  >  tests/bootstrap.php  >  Download  
File: tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: First commit
Class: Autocomplete
Suggest words to complete search using edge n-gram
Author: By
Last change:
Date: 10 months ago
Size: 224 bytes
 

Contents

Class file image Download
<?php

require __DIR__ "/../vendor/autoload.php";

use 
crodas\Autocomplete\PDOConn;

$pdo = new PDO('sqlite:' __DIR__ '/data.db');
try {
    
$conn = new PDOConn($pdo);
    
$conn->install();
} catch (\
Exception $e) {
}