noCookieYoutube = $noCookieYoutube; } /** * Check if no cookie is enabled. * * @return bool */ public function isEnabled(): bool { return $this->noCookieYoutube->isEnabled(); } /** * Get key of associated cookie category. * * @return string */ public function getAssociatedCategoryKey(): string { return $this->noCookieYoutube->getAssociatedCategoryKey(); } }