예제 #1
0
 public function testGetSettingImplementationClass()
 {
     $this->assertSame('Ableron\\Core\\Configuration\\Setting\\BooleanSetting', Setting::getSettingImplementationClass('Boolean'));
 }
예제 #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;
 }