/** * Get single instance of itself * * @param aam $parent * * @return aam_Core_Repository * * @access public * @static */ public static function getInstance(aam $parent = null) { if (is_null(self::$_instance)) { self::$_instance = new self($parent); } return self::$_instance; }