MvcLite\Request

Base Request

Synopsis

class Request extends ObjectAbstract {
  • // constants
  • const ERR_BAD_CONTENT_TYPE = 'Content type [%s] not recognized';
  • // Inherited methods from ObjectAbstract
  • public final void __get()
  • public final void __set()
  • public final void __call()
  • public void __toString()
  • public string identify()
  • // Inherited methods from Singleton
  • public static Singleton getInstance()
  • // Inherited methods from FilterChain
  • public Request getFilterChain()
}

Hierarchy

Coverage

Methods 100% 15 / 15
Lines 100% 95 / 95

Constants

Name Value
ERR_BAD_CONTENT_TYPE 'Content type [%s] not recognized'
MSG_ERR_IDENTIFY 'Descendents must implement the identify method'

Members

protected

  • $headers — array
    associative array of the headers sent from the client
  • $instanceMvcLite\Traits\Singleton
    Static instance variable
  • $params — array
    associative array representing the request params
  • $uri — string
    stores the original request uri

Methods

public

Inherited from MvcLite\ObjectAbstract

public

  • __call() — Overriding the __call magic method
  • __get() — Overriding the __get magic method
  • __set() — Overriding the __set magic method
  • __toString() — returns a string representation of the object
  • identify() — method used to identify the object instance

Inherited from MvcLite\Traits\Singleton

public

Inherited from MvcLite\Traits\FilterChain

public

History