src/Crawler/EventListCrawler.php
public function getEvents(GeoLocation $location, $radius = 100, int $page = 1): array
    {
        $node = $this->crawlUrl($location, $radius, $page);

        if (null === $node) {
            return [];
        }

        $resultList = [];

        $node->filter('.page-content section')->each(function (Crawler $node) use (&$resultList) {
            $headingNode = $node->filter('.group-heading');

            $datetime = new DateTime(trim($headingNode->text()));

            $resultList = array_merge($resultList, $this->crawlEventListGroup($node, $datetime));
        });

        return $resultList;
    }
public function getEvents(GeoLocation $location, $radius = 100, int $page = 1): array
    {
        $node = $this->crawlUrl($location, $radius, $page);

        if (null === $node) {
            return [];
        }

        $resultList = [];

        $node->filter('.page-content section')->each(function (Crawler $node) use (&$resultList) {
            $headingNode = $node->filter('.group-heading');

            $datetime = new DateTime(trim($headingNode->text()));

            $resultList = array_merge($resultList, $this->crawlEventListGroup($node, $datetime));
        });

        return $resultList;
    }
{@inheritdoc}