v1.0.0
English

Services.php

system/Config/Services.php
1 class 40 methods

class Services

Services Configuration file. Services are simply other classes/libraries that the system uses to do its job. This is used by CodeIgniter to allow the core of the framework to be swapped out easily without affecting the usage within the rest of your application. This is used in place of a Dependency Injection container primarily due to its simplicity, which allows a better long-term maintenance of the applications built on top of CodeIgniter. A bonus side-effect is that IDEs are able to determine what class you are calling whereas with DI Containers there usually isn't a way for them to do this.
cache (?Cache $config = null, bool $getShared = true) public
clirequest (?App $config = null, bool $getShared = true) public
codeigniter (?App $config = null, bool $getShared = true) public
commands (bool $getShared = true) public
csp (?CSPConfig $config = null, bool $getShared = true) public
curlrequest (array $options = [], ?ResponseInterface $response = null, ?App $config = null, bool $getShared = true) public
email ($config = null, bool $getShared = true) public
encrypter (?EncryptionConfig $config = null, $getShared = false) public
exceptions (?ExceptionsConfig $config = null, bool $getShared = true, ) public
filters (?FiltersConfig $config = null, bool $getShared = true) public
format (?FormatConfig $config = null, bool $getShared = true) public
honeypot (?HoneypotConfig $config = null, bool $getShared = true) public
image (?string $handler = null, ?Images $config = null, bool $getShared = true) public
iterator (bool $getShared = true) public
language (?string $locale = null, bool $getShared = true) public
logger (bool $getShared = true) public
migrations (?Migrations $config = null, ?ConnectionInterface $db = null, bool $getShared = true) public
negotiator (?RequestInterface $request = null, bool $getShared = true) public
responsecache (?Cache $config = null, ?CacheInterface $cache = null, bool $getShared = true) public
pager (?PagerConfig $config = null, ?RendererInterface $view = null, bool $getShared = true) public
parser (?string $viewPath = null, ?ViewConfig $config = null, bool $getShared = true) public
renderer (?string $viewPath = null, ?ViewConfig $config = null, bool $getShared = true) public
request (?App $config = null, bool $getShared = true) public
createRequest (App $config, bool $isCli = false) public
incomingrequest (?App $config = null, bool $getShared = true) public
response (?App $config = null, bool $getShared = true) public
redirectresponse (?App $config = null, bool $getShared = true) public
routes (bool $getShared = true) public
router (?RouteCollectionInterface $routes = null, ?Request $request = null, bool $getShared = true) public
security (?SecurityConfig $config = null, bool $getShared = true) public
session (?SessionConfig $config = null, bool $getShared = true) public
siteurifactory (?App $config = null, ?Superglobals $superglobals = null, bool $getShared = true, ) public
superglobals (?array $server = null, ?array $get = null, bool $getShared = true, ) public
throttler (bool $getShared = true) public
timer (bool $getShared = true) public
toolbar (?ToolbarConfig $config = null, bool $getShared = true) public
uri (?string $uri = null, bool $getShared = true) public
validation (?ValidationConfig $config = null, bool $getShared = true) public
viewcell (bool $getShared = true) public
typography (bool $getShared = true) public
phpDG v1.0.0 Services.php 662 files 498 classes 763 fn
Generated