DataSift\Storyplayer\ConfigLib\WrappedConfig::__construct PHP Method

__construct() public method

constructor
public __construct ( $isArray = false )
    public function __construct($isArray = false)
    {
        $this->setName("UNKNOWN");
        if (!$isArray) {
            $this->setConfig(new BaseObject());
        } else {
            $this->setConfig([]);
        }
    }

Usage Example

 public function __construct()
 {
     parent::__construct(self::ROOT_IS_OBJECT);
 }