Пример #1
0
 public function __construct($configurationFilesDirectory = null)
 {
     parent::__construct();
     $this->cache = array();
     if ($configurationFilesDirectory === null) {
         $configurationFilesDirectory = __DIR__ . '/../../../config/';
     }
     $this->directory = rtrim($configurationFilesDirectory, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
 }
Пример #2
0
 /**
  * Destructor.
  *
  * @api
  */
 public function __destruct()
 {
     parent::__destruct();
 }
 public function getWhitelistServerParameters()
 {
     if ($this->whitelistServerParameters == null) {
         $this->whitelistServerParameters = $this->retrieveWhitelistParameters($this->configuration->parameters->server);
         if (empty($this->whitelistServerParameters)) {
             $this->whitelistServerParameters = parent::getWhitelistServerParameters();
         }
     }
     return $this->whitelistServerParameters;
 }