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