Overview

Namespaces

  • PommProject
    • Cli
      • Command
      • Exception
    • Foundation
      • Client
      • Converter
        • Geometry
        • Type
      • Exception
      • Inspector
      • Listener
      • Observer
      • PreparedQuery
      • QueryManager
      • Session
      • Tester
    • ModelManager
      • Converter
      • Exception
      • Generator
      • Model
        • FlexibleEntity
        • ModelTrait
      • ModelLayer
      • Tester

Classes

  • BaseRange
  • Circle
  • NumRange
  • Point
  • TsRange
  • Overview
  • Namespace
  • Class

Class BaseRange

BaseRange

Abstract classes for range types.

Direct known subclasses

PommProject\Foundation\Converter\Type\NumRange, PommProject\Foundation\Converter\Type\TsRange
Abstract
Namespace: PommProject\Foundation\Converter\Type
Package: Foundation
Copyright: 2014 Grégoire HUBERT
Author: Grégoire HUBERT
License: {@link http://opensource.org/licenses/mit-license.php}
Located at Converter/Type/BaseRange.php
Methods summary
abstract protected string
# getRegexp( )

getRegexp

getRegexp

This function function must capture 4 elements of the description in this order:

  • left bracket style
  • left element
  • right element
  • right bracket style

Returns

string
abstract protected mixed
# getSubElement( string $element )

getSubElement

getSubElement

Return the representation for each element.

Parameters

$element

Returns

mixed
public
# __construct( string $description )

__construct

__construct

Create an instance from a string definition. This string definition matches PostgreSQL range definition.

Parameters

$description

Throws

InvalidArgumentException
public string
# __toString( )

__toString

__toString

Text representation of a range.

Returns

string
Properties summary
public $start_limit
#
public $end_limit
#
public $start_incl
#
public $end_incl
#
protected $description
#
API documentation generated by ApiGen