Bluz\Common\Singleton
Singleton
- Author: Anton Shevchuk
Synopsis
- // members
- protected static Singleton $instance;
- // methods
- public static Singleton getInstance()
- private static Singleton initInstance()
- public static void resetInstance()
- private void __construct()
- private void __clone()
- private void __wakeup()
Hierarchy
Used by
- Bluz\Application\Application
- Bluz\Proxy\Acl
- Bluz\Proxy\HttpCacheControl
- Bluz\Proxy\Layout
- Bluz\Proxy\Translator
- Bluz\Proxy\Response
- Bluz\Proxy\Cache
- Bluz\Proxy\Messages
- Bluz\Proxy\ProxyTrait
- Bluz\Proxy\Router
- Bluz\Proxy\Auth
- Bluz\Proxy\Mailer
- Bluz\Proxy\Logger
- Bluz\Proxy\Config
- Bluz\Proxy\Db
- Bluz\Proxy\Request
- Bluz\Proxy\Session
- Bluz\Proxy\Registry
- Bluz\Proxy\EventManager
Members
protected
- $instance — Bluz\Common\Singleton
Methods
private
- __construct() — Disabled by access level
- __clone() — Disabled by access level
- __wakeup() — Disabled by access level
- initInstance() — Initialization of class instance
public
- getInstance() — Get instance
- resetInstance() — Reset instance
History
-
2017-07-19T11:12:55+00:00 (commit #0775510)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Move `resetInstance()` to Singleton Refactoring tests: - rebuild reset `Application` - removed `resetRouter()` - simplyfied `Proxy` tests
-
2017-06-30T08:36:40+00:00 (commit #2259ecf)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Fixed comments style
-
2017-04-21T13:24:35+00:00 (commit #3b25a3d)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small update for codestyle
-
2017-02-15T16:09:44+00:00 (commit #0fc0c8b)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated coveralls config
-
2017-02-13T10:14:18+00:00 (commit #43dbf55)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Rollback to `getCount()` method
-
2017-02-02T15:53:34+00:00 (commit #dab767f)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Make true Singleton Trait
-
2017-01-30T13:15:49+00:00 (commit #fd5d943)
Author: Anton (AntonShevchuk@gmail.com) / Commiter: GitHub (AntonShevchuk@gmail.com)
Merge pull request #395 from AntonShevchuk/master Added `AttachmentResponse`
-
2017-01-30T12:38:53+00:00 (commit #0ab8691)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added `AttachmentResponse` Added `attachment($file)` helper for `Controller`