Changeset 4933 for trunk/lib/Doctrine

Show
Ignore:
Timestamp:
09/12/08 11:58:33 (4 months ago)
Author:
romanb
Message:

moved configuration

Location:
trunk/lib/Doctrine
Files:
1 added
1 removed
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/Doctrine/Connection.php

    r4932 r4933  
    173173        // Create default config and event manager if none given 
    174174        if ( ! $config) { 
    175             $this->_config = new Doctrine_Configuration(); 
     175            $this->_config = new Doctrine_Common_Configuration(); 
    176176        } 
    177177        if ( ! $eventManager) { 
  • trunk/lib/Doctrine/ConnectionFactory.php

    r4932 r4933  
    5959     * @return Connection 
    6060     */ 
    61     public function createConnection(array $params, Doctrine_Configuration $config = null, 
     61    public function createConnection(array $params, Doctrine_Common_Configuration $config = null, 
    6262            Doctrine_Common_EventManager $eventManager = null) 
    6363    { 
    6464        // create default config and event manager, if not set 
    6565        if ( ! $config) { 
    66             $config = new Doctrine_Configuration(); 
     66            $config = new Doctrine_Common_Configuration(); 
    6767        } 
    6868        if ( ! $eventManager) { 
  • trunk/lib/Doctrine/EntityManager.php

    r4932 r4933  
    149149     * @param string $name 
    150150     */ 
    151     protected function __construct(Doctrine_Connection $conn, $name, Doctrine_Configuration $config, 
     151    protected function __construct(Doctrine_Connection $conn, $name, Doctrine_Common_Configuration $config, 
    152152            Doctrine_Common_EventManager $eventManager) 
    153153    {