src/Object/ObjectFactory.php
public function createObject($objName, &$xmlArr = null)
    {
        $obj = $this->constructObject($objName, $xmlArr);
        return $obj;
    }
public function createObject($objName, &$xmlArr = null)
    {
        $obj = $this->constructObject($objName, $xmlArr);
        return $obj;
    }
Create a new metadata based object instance

@param string $objName name of object will be create
@param array $xmlArr propery array of object
@return object