Пример #1
0
 /**
  *  Constructor
  *
  * @param Charcoal_Sandbox $sandbox
  */
 public function __construct($sandbox)
 {
     //        Charcoal_ParamTrait::validateSandbox( 1, $sandbox );
     $this->sandbox = $sandbox;
     parent::__construct($sandbox->getEnvironment());
 }
Пример #2
0
 /**
  *  Constructor
  *
  * @param Charcoal_IEnvironment $env
  * @param array $values
  */
 public function __construct($env, $values = NULL)
 {
     //        Charcoal_ParamTrait::validateIsA( 1, 'Charcoal_IEnvironment', $env );
     parent::__construct($env, $values);
 }