Show
Ignore:
Timestamp:
09/17/08 13:55:47 (4 months ago)
Author:
nowelium
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/php/misc/Hermit/src/Hermit/proxy/HermitInterfaceProxy.php

    r19344 r19426  
    1515    } 
    1616    public function request($name, array $params){ 
    17         if(!$this->commandFactory->hasCommand($name)){ 
     17        if(!$this->commandFactory->has($name)){ 
    1818            throw new BadMethodCallException($this->reflector->getName() . '::' . $name); 
    1919        } 
    20         $command = $this->commandFactory->getCommand($name); 
     20        $pdo = HermitDataSourceManager::get($this->reflector->getName()); 
     21        $command = $this->commandFactory->create($pdo, $name); 
    2122        return $command->execute($pdo, $params); 
    2223    }