`$listener = new ReGenerateDocsOnSuccessListener($documents = array());`