I'm using PHP Doctrine and i've setup autoloading:
spl_autoload_register(array('Doctrine', 'autoload'));
spl_autoload_register(array('Doctrine', 'modelsAutoload'));
I can create a table like so:
$table = Doctrine_Core::getTable('TableName');
However if I try it like this, it doesn't work, what am I missing?:
$table = new TableNameTable(); //Yes it should be TableNameTable