getTimestamp(); return collect($talks) ->flatMap(fn (ProxySourceItem $talk) => $talk->data()->get('events')) ->filter( function (array $event) use ($today): bool { assert(array_key_exists(array: $event, key: 'date')); return $event['date'] < $today; } ) ->count(); } public function getYearsOfExperience(): int { return (new \DateTimeImmutable())->format('Y') - 2007; } }