1
0
mirror of synced 2025-01-18 22:41:43 +03:00
2007-09-21 18:19:19 +00:00

22 lines
453 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)
{
$record = new Doctrine_Resource_Record($model, $this->config);
return $record;
}
}