function load() { $file = fopen(ConfPath::replyList($this->name), "r"); while ($line = fgets($file)) { $line = rtrim($line); $cells = mb_split(',', $line); $sample = array('from' => array_shift($cells), 'to' => array_shift($cells), 'dimension' => $cells); $this->list[] = $sample; } fclose($file); }