# \GraphDS\PersistenceImportGraph

Class defining the graph importer methods.

## Summary

Methods
Properties
Constants
__construct()
fromGraphML()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

File
  Persistence/ImportGraph.php
Package
  Default
Class hierarchy
  \GraphDS\Persistence\ImportGraph

## Tags

None found

## Methods

### __construct()

    __construct()

Constructor for the graph importer.

#

Inherited from
  \GraphDS\Persistence\ImportGraph

## Tags

None found

### fromGraphML()

    fromGraphML(string  $file) : \GraphDS\Graph\Graph

Returns GraphDS graph represented by GraphML.

#### Parameters

string | $file | File containing the GraphML markup

#### Returns

\GraphDS\Graph\Graph —

The graph reconstructed from the GraphML

#

Inherited from
  \GraphDS\Persistence\ImportGraph

## Tags

None found

### ImportGraph.php