Prado\Data\SqlMap\Configuration\TSqlMapXmlConfigBuilder::createObjectFromNode PHP Метод

createObjectFromNode() защищенный Метод

Create an instance of an object give by the attribute named 'class' in the node and set the properties on the object given by attribute names and values.
protected createObjectFromNode ( $node ) : Object
Результат Object new instance of class with class name given by 'class' attribute value.
    protected function createObjectFromNode($node)
    {
        if (isset($node['class'])) {
            $obj = Prado::createComponent((string) $node['class']);
            $this->setObjectPropFromNode($obj, $node, array('class'));
            return $obj;
        }
        throw new TSqlMapConfigurationException('sqlmap_node_class_undef', $node, $this->getConfigFile());
    }