abstract class GeoAdapter in geoPHP 7
Same name and namespace in other branches
- 8 geoPHP/lib/adapters/GeoAdapter.class.php \GeoAdapter
 
GeoAdapter : abstract class which represents an adapter for reading and writing to and from Geomtry objects
Hierarchy
- class \GeoAdapter
 
Expanded class hierarchy of GeoAdapter
File
- geoPHP/
lib/ adapters/ GeoAdapter.class.php, line 15  
View source
abstract class GeoAdapter {
  /**
   * Read input and return a Geomtry or GeometryCollection
   *
   * @return Geometry|GeometryCollection
   */
  public abstract function read($input);
  /**
   * Write out a Geomtry or GeometryCollection in the adapter's format
   *
   * @return mixed
   */
  public abstract function write(Geometry $geometry);
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            GeoAdapter:: | 
                  abstract public | function | Read input and return a Geomtry or GeometryCollection | 8 | 
| 
            GeoAdapter:: | 
                  abstract public | function | Write out a Geomtry or GeometryCollection in the adapter's format | 8 |