Overview

Namespaces

  • Faulancer
    • Console
      • Handler
    • Controller
    • Exception
    • Form
      • Validator
        • Type
    • Helper
      • Reflection
    • Http
    • ORM
    • Service
      • Factory
    • ServiceLocator
    • View
      • Helper

Classes

  • AbstractHttp
  • Uri
  • Overview
  • Namespace
  • Class

Class Uri

Class Uri

Namespace: Faulancer\Http
Located at Http/Uri.php
Methods summary
public mixed
# redirect( Faulancer\Http\string $location, Faulancer\Http\int $code = 301 )

Redirect to specific uri path

Redirect to specific uri path

Parameters

$location
The path as string
$code
The status code

Returns

mixed

Throws

Faulancer\Exception\InvalidArgumentException
public
# terminate( )

Workaround to mock this method in phpunit

Workaround to mock this method in phpunit

Codecoverageignore

API documentation generated by ApiGen