Zend Framework  3.0
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Uri Class Reference

Implementation of Psr. More...

Public Member Functions

 __construct ($uri= '')
 
 __clone ()
 Operations to perform on clone.
 
 __toString ()
 {}
 
 getScheme ()
 {}
 
 getAuthority ()
 {}
 
 getUserInfo ()
 {}
 
 getHost ()
 {}
 
 getPort ()
 {}
 
 getPath ()
 {}
 
 getQuery ()
 {}
 
 getFragment ()
 {}
 
 withScheme ($scheme)
 {}
 
 withUserInfo ($user, $password=null)
 {}
 
 withHost ($host)
 {}
 
 withPort ($port)
 {}
 
 withPath ($path)
 {}
 
 withQuery ($query)
 {}
 
 withFragment ($fragment)
 {}
 

Public Attributes

const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;='
 Sub-delimiters used in query strings and fragments.
 
const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~'
 Unreserved characters used in paths, query strings, and fragments.
 

Protected Attributes

 $allowedSchemes
 

Detailed Description

Implementation of Psr.

Provides a value object representing a URI for HTTP requests.

Instances of this class are considered immutable; all methods that might change state are implemented such that they retain the internal state of the current instance and return a new instance that contains the changed state.

Constructor & Destructor Documentation

__construct (   $uri = '')
Parameters
string$uri
Exceptions
InvalidArgumentExceptionon non-string $uri argument

Member Function Documentation

__clone ( )

Operations to perform on clone.

Since cloning usually is for purposes of mutation, we reset the $uriString property so it will be re-calculated.

__toString ( )

{}

getAuthority ( )

{}

getFragment ( )

{}

getHost ( )

{}

getPath ( )

{}

getPort ( )

{}

getQuery ( )

{}

getScheme ( )

{}

getUserInfo ( )

{}

withFragment (   $fragment)

{}

withHost (   $host)

{}

withPath (   $path)

{}

withPort (   $port)

{}

withQuery (   $query)

{}

withScheme (   $scheme)

{}

withUserInfo (   $user,
  $password = null 
)

{}

Member Data Documentation

$allowedSchemes
protected
Initial value:
= [
'http' => 80
const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;='

Sub-delimiters used in query strings and fragments.

string

const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~'

Unreserved characters used in paths, query strings, and fragments.

string