/** * Gets the escaped content tags used for the compiler. * * @return string * @static */ public static function getEscapedContentTags() { return \Illuminate\View\Compilers\BladeCompiler::getEscapedContentTags(); }
/** * Get the blade tags which might be overruled by user. * * @param \Illuminate\View\Compilers\BladeCompiler $bladeCompiler * * @return array */ private function getBladeTags(BladeCompiler $bladeCompiler) { $contentTags = $bladeCompiler->getContentTags(); $tags = [$contentTags, $bladeCompiler->getRawTags(), $bladeCompiler->getEscapedContentTags(), [$contentTags[0] . '--', '--' . $contentTags[1]]]; return $tags; }