class Doctrine_Compiler (View source)

Doctrine_Compiler This class can be used for compiling the entire Doctrine framework into a single file

Methods

static $target
compile($target = null, $includedDrivers = array())

method for making a single file of most used doctrine runtime components including the compiled file instead of multiple files (in worst cases dozens of files) can improve performance by an order of magnitude

Details

static $target compile($target = null, $includedDrivers = array())

method for making a single file of most used doctrine runtime components including the compiled file instead of multiple files (in worst cases dozens of files) can improve performance by an order of magnitude

Parameters

$target
$includedDrivers

Return Value

$target Path the compiled file was written to

Exceptions

Doctrine_Compiler_Exception if something went wrong during the compile operation