Skip to content

Qrzysio/PDOMemcached-Database-Class

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDOMemcached Database Class

Usage

<?php 
require_once 'vendor/Autoloader.php';

use myc\Core\db as db;

use myc\Exception\MYCDBException as MYCDBException;
use myc\Exception\MYCDBPDOException as MYCDBPDOException;
use myc\Exception\MYCDBInvalidArgumentException as MYCDBInvalidArgumentException;



try {

    $db = new db();
    
} catch (MYCDBInvalidArgumentException $e) {
    echo $e->errorMessage();
} catch (MYCDBPDOException $e) {
    echo $e->errorMessage();
} catch (MYCDBException $exc) {
    echo $exc->errorMessage();
} catch (Exception $e) {
    echo $e->getTraceAsString();
}

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%