public function handleGetReferer(GetReferrerEvent $event)
    {
        /** @var System $systemAdapter */
        $systemAdapter = $this->framework->getAdapter(System::class);

        $event->setReferrerUrl($systemAdapter->getReferer($event->isEncodeAmpersands(), $event->getTableName()));
    }
public function handleGetReferer(GetReferrerEvent $event)
    {
        /** @var System $systemAdapter */
        $systemAdapter = $this->framework->getAdapter(System::class);

        $event->setReferrerUrl($systemAdapter->getReferer($event->isEncodeAmpersands(), $event->getTableName()));
    }
public function handleGetReferer ( GetReferrerEvent $ event ) { /** @var System $systemAdapter */ $ systemAdapter = $ this -> framework -> getAdapter ( System :: class ) ; $ event -> setReferrerUrl ( $ systemAdapter -> getReferer ( $ event -> isEncodeAmpersands ( ) , $ event -> getTableName ( ) ) ) ; }
Retrieve the current referrer url.

@param GetReferrerEvent $event The event.

@return void
Retrieve the current referrer url .