/** * protected constructor to ensure singleton pattern */ protected function __construct() { parent::__construct(); $this->persistence = common_persistence_KeyValuePersistence::getPersistence(self::PERSISTENCE_ID); }
protected function __construct() { parent::__construct(); $config = $this->getConfig(); $this->register($config); }