title: What is the default directory of Template Processor in PHPWord?
body: <p>I am using PHPword to generate the word documents. I want to generate multiple documents so that I want to use the template. I tried this code in the controller:</p>
  
  <pre><code>$templateProcessor = new TemplateProcessor('resources/Sample_07_TemplateCloneRow.docx');
  $templateProcessor-&gt;setValue('Name', 'John Doe');
  $templateProcessor-&gt;setValue(array('City', 'Street'), array('Detroit', '12th Street'));
  </code></pre>
  
  <p>and following error is displayed:</p>
  
  <pre><code>copy(resources/Sample_07_TemplateCloneRow.docx): failed to open stream: No such 
  file or directory
  </code></pre>
  
  <p>at :</p>
  
  <pre><code>// Template file cloning
  if (false === copy($documentTemplate, $this-&gt;tempDocumentFilename)) {
  throw new CopyFileException($documentTemplate, $this-&gt;tempDocumentFilename);
  }
  </code></pre>
  
  <p>What is the default directory of Template Processor? or we have to give location manually. Please help!</p>
  
  <p>PHP version:7.0 
  laravel 5.5
  PHPWord version: 0.14</p>