/**
  * Registry is a singleton
  * @return MslsRegistry
  */
 public static function instance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 /**
  * Get or create an instance of MslsTaxonomy
  * @todo Until PHP 5.2 is not longer the minimum for WordPress ...
  * @return MslsTaxonomy
  */
 public static function instance()
 {
     if (!($obj = MslsRegistry::get_object('MslsTaxonomy'))) {
         $obj = new self();
         MslsRegistry::set_object('MslsTaxonomy', $obj);
     }
     return $obj;
 }
 /**
  * Get or create an instance of MslsPostType
  * @todo Until PHP 5.2 is not longer the minimum for WordPress ...
  * @return MslsBlogPostType
  */
 public static function instance()
 {
     if (!($obj = MslsRegistry::get_object('MslsBlogPostType'))) {
         $obj = new self();
         MslsRegistry::set_object('MslsBlogPostType', $obj);
     }
     return $obj;
 }
 /**
  * Verify the instance-method
  * @covers MslsRegistry::instance
  */
 function test_instance_method()
 {
     $obj = MslsRegistry::instance();
     $this->assertInstanceOf('MslsRegistry', $obj);
     return $obj;
 }