Overview

Namespaces

  • Baguette
    • Application
    • Response
    • Serializer
    • Session

Classes

  • Application
  • Overview
  • Namespace
  • Class

Class Application

Base class of web application

Abstract
Namespace: Baguette
Copyright: 2016 Baguette HQ
License: Apache-2.0
Author: USAMI Kenta tadsan@zonu.me
Located at Application.php
Methods summary
public
# __construct( array $server, array $cookie, array $get, array $post, DateTimeImmutable $now = null )

Parameters

$server
$_SERVER
$cookie
$_COOKIE
$get
$_GET
$post
$_POST
$now
abstract public Baguette\Response\ResponseInterface
# execute( Teto\Routing\Action $action )

Parameters

$action

Returns

Baguette\Response\ResponseInterface
public
# __get( $name )
public string
# renderResponse( Baguette\Response\ResponseInterface $response )

Parameters

$response

Returns

string
protected boolean
# headers_sent( )

Returns

boolean
protected
# header( string $string, boolean $replace,…, integer $http_response_code,… )

Parameters

$string
$replace,…
$http_response_code,…
protected integer
# http_response_code( integer $response_code = null )

Parameters

$response_code

Returns

integer
Properties summary
protected array $server

$_SERVER

$_SERVER

#
protected array $cookie

$_COOKIE

$_COOKIE

#
protected array $get

$_GET

$_GET

#
protected array $post

$_POST

$_POST

#
protected DateTimeImmutable $now
#
Magic properties summary
public read-only array $server

$_SERVER

public read-only array $cookie

$_COOKIE

public read-only array $get

$_GET

public read-only array $post

$_POST

public read-only DateTimeImmutable $now
ξ ^ω^)ξ < Baguette Not Framework API documentation generated by ApiGen