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