RomanShumkov / lazypdo

(un)serializable PHP PDO with lazy initialization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LazyPDO

LazyPDO is a wrapper over PHP's standard PDO class. It postpones instantiating original PDO class until one is really needed. Also it can be (un)serialized.

The main goal of this class is to allow mocking of PDO instances in unit tests.

About

(un)serializable PHP PDO with lazy initialization

License:MIT License


Languages

Language:PHP 100.0%