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