public static function getInstance() : self { static $instance; if (null === $instance) { $instance = new static(); } return $instance; }