Liten::getInstance ( string $name = 'default' )

Get Liten application instance by name.

Return: (LitenLiten|null)

Source file: Liten/Liten.php

View source


Parameters

$name

(string) (Optional)

Default value: 'default'


Used by

Uses


Source

    public static function getInstance($name = 'default')
    {
        return isset(static::$_apps[$name]) ? static::$_apps[$name] : null;
    }


User Contributed Notes

You must log in before being able to contribute a note.