PEAR_Frontend::singleton

PEAR_Frontend::singleton()

PEAR_Frontend::singleton()  -- Retrieve the frontend object

Description

Get a single unique copy of the current PEAR frontend object.

Parameter

string|NULL $type

if being called for the first time, the user can specify the kind of frontend to return. Otherwise, this parameter is ignored, and the existing single frontend is returned.

Throws

throws no exceptions thrown

Note

This function can be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.