server/src/app/Repositories/DocumentRepository.php
changeset 502 74fba571487e
parent 326 226d5b17a119
--- a/server/src/app/Repositories/DocumentRepository.php	Mon Feb 06 16:05:02 2017 +0100
+++ b/server/src/app/Repositories/DocumentRepository.php	Wed Feb 08 15:25:24 2017 +0100
@@ -34,8 +34,21 @@
     /**
      * Resolve lexvo id for all documents in the list
      * this allow to optimise the call of lexvo repository
+     * This will modify the documents.
+     *
+     * @param array
+     * @return nothing
      */
     public function resolveLexvo(Array $docList);
 
+    /**
+     * Add country info for document.
+     * This modify the document
+     *
+     * @param $doc the document instance
+     * @return nothing
+     */
+    public function addCountryInfo($doc);
+
     public function getCount();
 }