Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
phpmyadmin /
libraries /
classes /
Gis /
Delete
Unzip
Name
Size
Permission
Date
Action
GisFactory.php
1.26
KB
-rw-r--r--
2023-02-07 21:35
GisGeometry.php
12.25
KB
-rw-r--r--
2023-02-07 21:35
GisGeometryCollection.php
11.1
KB
-rw-r--r--
2023-02-07 21:35
GisLineString.php
9.93
KB
-rw-r--r--
2023-02-07 21:35
GisMultiLineString.php
12.52
KB
-rw-r--r--
2023-02-07 21:35
GisMultiPoint.php
12.13
KB
-rw-r--r--
2023-02-07 21:35
GisMultiPolygon.php
18.5
KB
-rw-r--r--
2023-02-07 21:35
GisPoint.php
10.17
KB
-rw-r--r--
2023-02-07 21:35
GisPolygon.php
17.92
KB
-rw-r--r--
2023-02-07 21:35
GisVisualization.php
20.51
KB
-rw-r--r--
2023-02-07 21:35
Save
Rename
<?php /** * Contains the factory class that handles the creation of geometric objects */ declare(strict_types=1); namespace PhpMyAdmin\Gis; use function strtoupper; /** * Factory class that handles the creation of geometric objects. */ class GisFactory { /** * Returns the singleton instance of geometric class of the given type. * * @param string $type type of the geometric object * * @return GisGeometry|false the singleton instance of geometric class of the given type * * @static */ public static function factory($type) { switch (strtoupper($type)) { case 'MULTIPOLYGON': return GisMultiPolygon::singleton(); case 'POLYGON': return GisPolygon::singleton(); case 'MULTIPOINT': return GisMultiPoint::singleton(); case 'POINT': return GisPoint::singleton(); case 'MULTILINESTRING': return GisMultiLineString::singleton(); case 'LINESTRING': return GisLineString::singleton(); case 'GEOMETRYCOLLECTION': return GisGeometryCollection::singleton(); default: return false; } } }