public function getItems() { $items = OrderItem::findByOrder($this->id); if ($items) { return $items; } return null; }