/** * Gets the raw tags used by the compiler. * * @return array * @static */ public static function getRawTags() { return \Illuminate\View\Compilers\BladeCompiler::getRawTags(); }
/** * 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; }