public function getColumnTypes(NodePath $nodePath)
    {
        $values = $this->getNodeChildrenProperties($nodePath, 'nodeType');
        $result = [];
        foreach ($values as $key => $value) {
            if ($key === self::ARRAY_NAME) {
                $result[self::DATA_COLUMN] = $value;
            } else {
                $result[$key] = $value;
            }
        }
        return $result;
    }
public function getColumnTypes(NodePath $nodePath)
    {
        $values = $this->getNodeChildrenProperties($nodePath, 'nodeType');
        $result = [];
        foreach ($values as $key => $value) {
            if ($key === self::ARRAY_NAME) {
                $result[self::DATA_COLUMN] = $value;
            } else {
                $result[$key] = $value;
            }
        }
        return $result;
    }
public function getColumnTypes ( NodePath $ nodePath ) { $ values = $ this -> getNodeChildrenProperties ( $ nodePath , 'nodeType' ) ; $ result = [ ] ; foreach ( $ values as $ key => $ value ) { if ( $ key === self :: ARRAY_NAME ) { $ result [ self :: DATA_COLUMN ] = $ value ; } else { $ result [ $ key ] = $ value ; } } return $ result ; }
Get columns from a node and return their data types.
@param NodePath $nodePath
@return array Index is column name, value is data type.
Get columns from a node and return their data types .