Documentation

App
in package

Table of Contents

VERSION  = "3.5.4"
semantic version
$aliases  : array<string|int, mixed>
default aliases
$basePath  : string
$config  : array<string|int, mixed>
$configPath  : string
$registeredProviders  : array<string|int, mixed>
$bindings  : array<string|int, mixed>
$boot  : bool
$files  : array<string|int, mixed>
default files
$instance  : App
$instances  : array<string|int, mixed>
class instances
$providers  : array<string|int, mixed>
default services
$routes  : array<string|int, mixed>
route files
__construct()  : mixed
App constructor.
__debugInfo()  : array<string|int, string>
__get()  : mixed
__set()  : mixed
bind()  : mixed
boot()  : void
callBindingClassWithMethod()  : mixed
debug()  : mixed
get()  : mixed
get instance from name
getInstance()  : static
App self instance
has()  : bool
instance()  : mixed
isBinding()  : bool
resolve()  : mixed|object
singleton()  : mixed
bootProviders()  : mixed
boot method registered service providers
loadAlias()  : mixed
Sınıf takma isimlerini yüklenmesi
loadConfiguration()  : array<string|int, mixed>
loadExceptionHandler()  : mixed
Exception hadnler sınıfı yüklenmesi
loadFacades()  : mixed
loadFiles()  : mixed
projeden önce gereken dosyaların yüklenmesi
loadRoutes()  : mixed
registerProviders()  : mixed

Constants

VERSION

semantic version

public mixed VERSION = "3.5.4"

Properties

$aliases

default aliases

public array<string|int, mixed> $aliases = []

$basePath

public string $basePath = ''

ROOT

$config

public array<string|int, mixed> $config

$configPath

public string $configPath = '/config'

$registeredProviders

public array<string|int, mixed> $registeredProviders = []

$bindings

protected array<string|int, mixed> $bindings = []

$boot

protected bool $boot = false

$files

default files

protected array<string|int, mixed> $files = []

$instance

protected static App $instance

$instances

class instances

protected array<string|int, mixed> $instances = []

$providers

default services

protected array<string|int, mixed> $providers = [CoreConfigConfigServiceProvider::class, CoreEraEraServiceProvider::class, CoreCryptCryptServiceProvider::class, CoreHttpHttpServiceProvider::class, CoreDatabaseDatabaseServiceProvider::class, CoreCacheCacheServiceProvider::class, CoreValidationFilterServiceProvider::class, CoreLogLoggerServiceProvider::class, CoreHookHookServiceProvider::class, CoreViewViewServiceProvider::class, CoreRouterRouterServiceProvider::class]

$routes

route files

protected array<string|int, mixed> $routes = []

Methods

__construct()

App constructor.

public __construct([string $basePath = '' ]) : mixed
Parameters
$basePath : string = ''
Return values
mixed

__debugInfo()

public __debugInfo() : array<string|int, string>
Return values
array<string|int, string>

__get()

public __get( $name) : mixed
Parameters
$name :
Return values
mixed

__set()

public __set( $name,  $value) : mixed
Parameters
$name :
$value :
Return values
mixed

bind()

public bind(string $name[, Closure|null $closure = null ][, bool $shared = false ]) : mixed
Parameters
$name : string
$closure : Closure|null = null
$shared : bool = false

false

Return values
mixed

boot()

public boot() : void
Return values
void

callBindingClassWithMethod()

public callBindingClassWithMethod(string $className, string $method[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
$className : string
$method : string
$args : array<string|int, mixed> = []
Tags
deprecated
Return values
mixed

debug()

public debug(Throwable $throwable) : mixed
Parameters
$throwable : Throwable
Return values
mixed

get()

get instance from name

public get( $id) : mixed
Parameters
$id :
Tags
throws
RuntimeException
Return values
mixed

getInstance()

App self instance

public static getInstance() : static
Return values
static

has()

public has( $id) : bool
Parameters
$id :
Return values
bool

instance()

public instance(string $name,  $instance) : mixed
Parameters
$name : string
$instance :
Return values
mixed

isBinding()

public isBinding(string $name) : bool
Parameters
$name : string
Return values
bool

resolve()

public resolve(string $className) : mixed|object
Parameters
$className : string
Return values
mixed|object

singleton()

public singleton(string $name[, Closure|null $closure = null ]) : mixed
Parameters
$name : string
$closure : Closure|null = null
Return values
mixed

bootProviders()

boot method registered service providers

protected bootProviders() : mixed
Return values
mixed

loadAlias()

Sınıf takma isimlerini yüklenmesi

protected loadAlias(array<string|int, mixed>|array<string|int, string> $aliases) : mixed
Parameters
$aliases : array<string|int, mixed>|array<string|int, string>

[alias => className]

Return values
mixed

loadConfiguration()

protected loadConfiguration(string $path) : array<string|int, mixed>
Parameters
$path : string
Return values
array<string|int, mixed>

loadExceptionHandler()

Exception hadnler sınıfı yüklenmesi

protected loadExceptionHandler() : mixed
Return values
mixed

loadFacades()

protected loadFacades() : mixed
Return values
mixed

loadFiles()

projeden önce gereken dosyaların yüklenmesi

protected loadFiles(array<string|int, mixed>|string $files) : mixed
Parameters
$files : array<string|int, mixed>|string

path

Return values
mixed

loadRoutes()

protected loadRoutes(array<string|int, mixed>|array<string|int, string> $routes) : mixed
Parameters
$routes : array<string|int, mixed>|array<string|int, string>

route files

Return values
mixed

registerProviders()

protected registerProviders(array<string|int, mixed>|array<string|int, string> $providers) : mixed
Parameters
$providers : array<string|int, mixed>|array<string|int, string>

services class Name

Return values
mixed

Search results