Exemple #1
0
 /**
  * Resources belonging to a module within a compound namespace must pass the validation
  */
 public function testValidateParamResourceCompoundModuleNamespace()
 {
     $this->_model->validateParam('resource', 'TheCompoundNamespace_TheCompoundModule::resource');
 }
Exemple #2
0
 /**
  * Set Item config dependency
  *
  * @param string $configPath
  * @return $this
  * @throws \InvalidArgumentException
  */
 public function setConfigDependency($configPath)
 {
     $this->_validator->validateParam('dependsOnConfig', $configPath);
     $this->_dependsOnConfig = $configPath;
     return $this;
 }