CsvWriter
class CsvWriter (View source)
A Writer class for Express Entry objects
Properties
| protected Writer | $writer | ||
| protected Date | $dateFormatter | ||
| private string | $datetime_format | 
Methods
Details
        
                            
    __construct(Writer $writer, Date $dateFormatter, $datetime_format = DATE_ATOM)
        
    
    No description
        
                            
    insertHeaders(Entity $entity)
        
    
    No description
        
                            
    insertEntryList(EntryList $list)
        
    
    Insert all data from the passed EntryList
        
                        private    Generator
    projectList(EntryList $list)
        
    
    A generator that takes an EntryList and converts it to CSV rows
        
                        private    array
    orderedEntry(array $entry, array $headerKeys)
        
    
    Return an entry in proper order
        
                        private    array
    projectEntry(Entry $entry)
        
    
    Turn an Entry into an array