Ejemplo n.º 1
0
 /**
  * Construtor.
  *
  * @param PersistConfig $config
  * */
 public function __construct(PersistConfig $config = NULL)
 {
     parent::__construct($config);
 }
Ejemplo n.º 2
0
 /**
  * Construtor.
  *
  * @param PersistConfig $config
  * @throws PersistException
  * */
 public function __construct(PersistConfig $config = NULL)
 {
     parent::__construct($config);
     $leafNamespace = sprintf('%1$s%2$s%3$s%2$sPersist', __NAMESPACE__, self::NAMESPACE_SEPARATOR, $config->get('driver'));
     $this->_leaf = new $leafNamespace($this);
 }