PHP Classes

File: src/GeoJSONTypes/GeoJSONTypeEnum.php

Recommend this page to a friend!
  Classes of Niko Peikrishvili   PHP GeoJson Library   src/GeoJSONTypes/GeoJSONTypeEnum.php   Download  
File: src/GeoJSONTypes/GeoJSONTypeEnum.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP GeoJson Library
Parse and validate GeoJSON string, array or object
Author: By
Last change:
Date: 4 months ago
Size: 263 bytes
 

Contents

Class file image Download
<?php

namespace GeoJSON\GeoJSONTypes;

enum GeoJSONTypeEnum: string
{
    case
FEATURE = 'Feature';
    case
FEATURE_COLLECTION = 'FeatureCollection';

    public static function
values(): array
    {
        return
array_column(self::cases(), 'value');
    }
}