com\setasign\SetaFramework\Application

AbstractHttpApplication Class AbstractHttp

File: /SetaFramework/src/Application/AbstractHttpApplication.php

Class hierarchy

Implements

Summary

Properties

$name

protected string AbstractApplication::$name

The name of the application


Methods

__construct()

The constructor

Parameters
$bootstrap : \com\setasign\SetaFramework\Bootstrap\Bootstrap
 
$name : string

The name of the application

$config : ApplicationConfig
 

__debugInfo()

public AbstractApplication::__debugInfo (
void
): void

getApplicationDirectory()

abstract protected AbstractHttpApplication::getApplicationDirectory (
void
): string

Path to application dir, usally equal to DIR

getConfig()

getDi()

getName()

public AbstractApplication::getName (
void
): string

Get the application name

getRequestPathPrefix()

final public AbstractHttpApplication::getRequestPathPrefix (
void
): ?string
Return Values

If used in cli this will be null.

getViewDirectory()

public AbstractHttpApplication::getViewDirectory (
void
): string

Returns the view directory

getViewHelperNamespaces()

setupRoutes()

Setup Routes for the Application

Parameters
$router : \com\setasign\SetaFramework\Router\Router

The main Router-instance

Exceptions

Throws \com\setasign\SetaFramework\Router\RouteException