예제 #1
0
 function __construct($file = null, $mode = \IO\Stream\Mode::Read)
 {
     if (is_string($file)) {
         $file = new \IO\File($file);
     }
     parent::__construct($file, $mode);
 }
예제 #2
0
 function __construct(Database $database, array $params = array())
 {
     $this->Database = $database;
     parent::__construct($params);
 }