protected function createObject(array $data = [])
    {
        if ($this->withDefaults && empty($data) && \is_callable($this->callable)) {
            $blueprints = $this->callable;
            $data = $blueprints()->getDefaults();
        }

        $this->object = new Config($data, $this->callable);
    }
protected function createObject(array $data = [])
    {
        if ($this->withDefaults && empty($data) && \is_callable($this->callable)) {
            $blueprints = $this->callable;
            $data = $blueprints()->getDefaults();
        }

        $this->object = new Config($data, $this->callable);
    }
protected function createObject ( array $ data = [ ] ) { if ( $ this -> withDefaults && empty ( $ data ) && \ is_callable ( $ this -> callable ) ) { $ blueprints = $ this -> callable ; $ data = $ blueprints ( ) -> getDefaults ( ) ; } $ this -> object = new Config ( $ data , $ this -> callable ) ; }
Create configuration object.

@param  array  $data
Create configuration object .