Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public function addDeliveryInfo($lines) { // Getting pieces and date $arr = explode(' ', $lines[0]); $Delivery = new Delivery(); $Delivery->addPiece($arr[0]); $Delivery->addDate($arr[2]); array_shift($lines); $Delivery->addAddress(implode("\n", $lines)); $this->Deliveries[] = $Delivery; }