Documentation

pm_Bootstrap
in package

Class for initialization Plesk objects

Tags
since
11.0

Table of Contents

getContainer()  : ContainerInterface
Get dependency injection container
getDbAdapter()  : Zend_Db_Adapter_Abstract
Get database adapter for connecting and performing operations
init()  : mixed
Init configuration, error handling, logging, database adapter

Methods

getContainer()

Get dependency injection container

public static getContainer() : ContainerInterface
Tags
see
https://www.php-fig.org/psr/psr-11/
since
18.0.24
since
18.0.24

added Psr\Logger\LoggerInterface::class to the container

Return values
ContainerInterface

getDbAdapter()

Get database adapter for connecting and performing operations

public static getDbAdapter() : Zend_Db_Adapter_Abstract
Return values
Zend_Db_Adapter_Abstract

init()

Init configuration, error handling, logging, database adapter

public static init() : mixed
Return values
mixed

Search results