예제 #1
0
 /**
  * Constructor.
  *
  * @param array $config Available configuration options are:
  *        - `'path'`: The path to the directory holding the data.
  */
 public function __construct(array $config = array())
 {
     $defaults = array('path' => null);
     parent::__construct($config + $defaults);
 }
예제 #2
0
파일: Docs.php 프로젝트: rmarscher/li3_docs
 /**
  * Constructor.
  *
  * @param array $config Available configuration options are:
  *        - `'library'`
  *        - `'scope'`: Scope to use.
  * @return void
  */
 public function __construct($config = array())
 {
     $defaults = array('library' => null, 'scope' => null);
     parent::__construct($config + $defaults);
 }