wrappedObject->value * $this->wrappedObject->counter; } /** * Convert the presenter instance to an array. * * @return string[] */ public function toArray() { return array_merge($this->wrappedObject->toArray(), [ 'created_at' => $this->created_at(), 'updated_at' => $this->updated_at(), 'calculated_value' => $this->calculated_value(), ]); } }