1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/lib/Doctrine/Resource/Client.php
Jonathan.Wage d7cd584080
2007-09-21 18:43:27 +00:00

20 lines
417 B
PHP

<?php
class Doctrine_Resource_Client extends Doctrine_Resource
{
public $config = array();
public function __construct($config)
{
$this->config = $config;
}
public function newQuery()
{
return new Doctrine_Resource_Query($this->config);
}
public function newRecord($model)
{
return new Doctrine_Resource_Record($model, $this->config);
}
}