Passed
Branch master (47ccf4)
by Swen
03:12
created

GEOSWKTReader   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
eloc 1
c 1
b 0
f 1
dl 0
loc 15
rs 10
1
<?php
2
3
/**
4
 * GEOSWKTReader class stub.
5
 *
6
 * These stubs are required for IDEs to provide autocompletion and static code analysis during development.
7
 * They are not required for production.
8
 *
9
 * @see https://github.com/libgeos/libgeos/blob/svn-trunk/php/geos.c
10
 */
11
class GEOSWKTReader
12
{
13
    /**
14
     * Constructor.
15
     */
16
    public function __construct() {}
17
18
    /**
19
     * @param string $wkt
20
     *
21
     * @return GEOSGeometry
22
     *
23
     * @throws \Exception If the WKT is not valid.
24
     */
25
    public function read($wkt) {}
26
}
27