View sourcecode

The following files exists in this folder. Click to view.

phpdoc-cache-file_b8cb6d4c9fb87680cd978539dfd45102.dat

1 lines ASCII Unix (LF)
1
O:39:"phpDocumentor\Descriptor\FileDescriptor":22:{s:7:"*hash";s:32:"fa1f5eaa9a080ceb643140a1ee24af41";s:7:"*path";s:14:"TSingleton.php";s:9:"*source";s:421:"<?php
/**
 * Trait implementing singleton design pattern.
 */

namespace Anax;

trait TSingleton
{
    /**
     * Properties
     *
     */
    static private $instance = null;



    /**
     * Create or get singleton instance of class.
     *
     */
    static public function instance()
    {
        return isset(static::$instance) 
            ? self::$instance
            : self::$instance = new static; 
    }
}
";s:19:"*namespaceAliases";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:11:"*includes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:12:"*constants";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:12:"*functions";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:10:"*classes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:13:"*interfaces";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:9:"*traits";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:1:{s:16:"\Anax\TSingleton";O:40:"phpDocumentor\Descriptor\TraitDescriptor":14:{s:13:"*properties";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:1:{s:8:"instance";O:43:"phpDocumentor\Descriptor\PropertyDescriptor":16:{s:9:"*parent";r:19;s:8:"*types";N;s:10:"*default";s:4:"null";s:9:"*static";b:1;s:13:"*visibility";s:7:"private";s:8:"*fqsen";s:26:"\Anax\TSingleton::instance";s:7:"*name";s:8:"instance";s:12:"*namespace";N;s:10:"*package";s:0:"";s:10:"*summary";s:10:"Properties";s:14:"*description";s:0:"";s:17:"*fileDescriptor";N;s:7:"*line";i:14;s:7:"*tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:1:{s:3:"var";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}}}s:9:"*errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:19:"*inheritedElement";N;}}}s:10:"*methods";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:1:{s:8:"instance";O:41:"phpDocumentor\Descriptor\MethodDescriptor":17:{s:9:"*parent";r:19;s:11:"*abstract";b:0;s:8:"*final";b:0;s:9:"*static";b:1;s:13:"*visibility";s:6:"public";s:12:"*arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:8:"*fqsen";s:28:"\Anax\TSingleton::instance()";s:7:"*name";s:8:"instance";s:12:"*namespace";N;s:10:"*package";s:0:"";s:10:"*summary";s:42:"Create or get singleton instance of class.";s:14:"*description";s:0:"";s:17:"*fileDescriptor";N;s:7:"*line";i:22;s:7:"*tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:2:{s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}}}s:9:"*errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:19:"*inheritedElement";N;}}}s:13:"*usedTraits";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:8:"*fqsen";s:16:"\Anax\TSingleton";s:7:"*name";s:10:"TSingleton";s:12:"*namespace";s:5:"\Anax";s:10:"*package";s:0:"";s:10:"*summary";s:0:"";s:14:"*description";s:0:"";s:17:"*fileDescriptor";r:1;s:7:"*line";i:8;s:7:"*tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:2:{s:7:"package";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:1:{i:0;O:38:"phpDocumentor\Descriptor\TagDescriptor":3:{s:7:"*name";s:7:"package";s:14:"*description";s:7:"Default";s:9:"*errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}}}}s:10:"subpackage";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}}}s:9:"*errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:"*severity";s:5:"error";s:7:"*code";s:13:"PPC:ERR-50010";s:7:"*line";i:8;s:10:"*context";a:2:{s:11:"{{ value }}";s:2:"""";i:0;s:16:"\Anax\TSingleton";}}}}s:19:"*inheritedElement";N;}}}s:10:"*markers";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:8:"*fqsen";s:0:"";s:7:"*name";s:14:"TSingleton.php";s:12:"*namespace";N;s:10:"*package";s:7:"Default";s:10:"*summary";s:44:"Trait implementing singleton design pattern.";s:14:"*description";s:0:"";s:17:"*fileDescriptor";N;s:7:"*line";i:0;s:7:"*tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:2:{s:7:"package";r:82;s:10:"subpackage";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}}}s:9:"*errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:19:"*inheritedElement";N;}