/** * Implements singleton design pattern. * * @static * @return iMSCP_Validate */ public static function getInstance() { if (self::$_instance === null) { self::$_instance = new self(); } return self::$_instance; }