public function get($className, array $objectData)
    {
        $this->runningProcesses++;

        try {
            $result = $this->convertToObject($className, $objectData);

            $this->runningProcesses--;

            return $result;
        } catch (\Exception $exception) {
            $this->runningProcesses--;

            throw $exception;
        }
    }
public function get($className, array $objectData)
    {
        $this->runningProcesses++;

        try {
            $result = $this->convertToObject($className, $objectData);

            $this->runningProcesses--;

            return $result;
        } catch (\Exception $exception) {
            $this->runningProcesses--;

            throw $exception;
        }
    }
public function get ( $ className , array $ objectData ) { $ this -> runningProcesses ++ ; try { $ result = $ this -> convertToObject ( $ className , $ objectData ) ; $ this -> runningProcesses -- ; return $ result ; } catch ( \ Exception $ exception ) { $ this -> runningProcesses -- ; throw $ exception ; } }
Returns an instance of the given configuration object name. The object is
recursively filled with the given array data.

@param    string $className  Name of the configuration object class. The class must implement `\Romm\ConfigurationObject\ConfigurationObjectInterface`.
@param    array  $objectData Data used to fill the object.
@return ConfigurationObjectInstance
@throws \Exception
Returns an instance of the given configuration object name . The object is recursively filled with the given array data .