I can't understand the csv class, I made this one below but it doesn't work I need an example for me to understand how to make this class
class Csv
{
public $extension;
public $Reader;
function Extension($Csv)
{
$this->Reader = $Csv;
}
function Reader($extension)
{
$this->Extension = $extension;
}
$Csv = new Csv('file');
$Csv -> extension;
$Csv -> Reader;