/** * @return self */ public static function instance() { if (empty(self::$instance)) { self::$instance = new self(); } return self::$instance; }