title: PHP league/csv Reader How to know which delimiter was used?
body: <p>When using league/csv to read a csv file, how could I know which csv controls have been used to parse the file ?</p>
  
  <p>I made different csv files :</p>
  
  <ul>
  <li>delimiter_colon.csv  {exported from excel with colon delimiter}</li>
  <li>delimiter_tab.csv  {exported from excel with tab delimiter}</li>
  <li>delimiter_semicolon.csv {exported from excel with semicolon delimiter}</li>
  <li>etc...</li>
  </ul>
  
  <p>When using </p>
  
  <pre><code>use League\Csv\Reader;
  ...
  
  //Read csv from path
  $csvReader = Reader::createFromPath( $CSVFile-&gt;path );
  
  //get the current delimiter ? Nope always the default one ...
  $this-&gt;delimiter = $csvReader-&gt;getDelimiter();
  </code></pre>
  
  <p><strong>EDIT:</strong> What I want to know is which delimiter has been used by the current reader. 
  Not the delimiter in the csv file itself.</p>
  
  <p>Whatever the file I use to read the csv, it always gives "," {coma}
  So I'm asking here: </p>
  
  <p>How to know which delimiter/enclosure were used to parse the current csv Reader ?</p>
  
  <p>I've also tried using getIterator(). Get default values too.</p>