Commit 94398656 authored by Taddeus Kroes's avatar Taddeus Kroes

Updated some docs

parent 9bbdf37c
<?php <?php
/* /**
* *
* *
* @author Taddeus Kroes * @author Taddeus Kroes
* @date 05-10-2012 * @date 05-10-2012
* @since 0.2
* @todo Documentation
*/ */
namespace webbasics; namespace webbasics;
require_once 'base.php'; require_once 'base.php';
/**
*
*
* @package WebBasics
*/
class Session implements Singleton { class Session implements Singleton {
/**
* @see Singleton::$instance
*/
private static $instance; private static $instance;
/**
* @see Singleton::getInstance()
*/
static function getInstance() { static function getInstance() {
if (self::$instance === null) if (self::$instance === null)
self::$instance = new self; self::$instance = new self;
...@@ -21,6 +34,8 @@ class Session implements Singleton { ...@@ -21,6 +34,8 @@ class Session implements Singleton {
} }
/** /**
* Constructor, starts a new session.
*
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
private function __construct() { private function __construct() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment