Example #1
0
 public function testGetSettingImplementationClass()
 {
     $this->assertSame('Ableron\\Core\\Configuration\\Setting\\BooleanSetting', Setting::getSettingImplementationClass('Boolean'));
 }
Example #2
0
 /**
  * Returns the unserialized setting value.
  *
  * @return mixed
  */
 public function getValue()
 {
     if ($this->unserializedValue === null) {
         $this->unserializedValue = Setting::unserialize($this->serializedValue, $this->type);
     }
     return $this->unserializedValue;
 }