1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 01:44:03 +00:00
This commit is contained in:
Samuel Štancl 2021-05-24 10:53:00 +02:00
parent 051a32575c
commit b12c9ecb55
21 changed files with 750 additions and 86 deletions

View file

@ -11,7 +11,7 @@
|
*/
uses(ArchTech\REPLACE\Tests\TestCase::class)->in('Pest');
uses(ArchTech\SEO\Tests\TestCase::class)->in('Pest');
/*
|--------------------------------------------------------------------------
@ -39,7 +39,12 @@ expect()->extend('toBeOne', function () {
|
*/
function something()
function blade(string $blade): string
{
// ..
return eval('ob_start(); ?>' . app('blade.compiler')->compileString($blade) . ' <?php return trim(ob_get_clean());');
}
function meta(): string
{
return view('seo::components.meta')->render();
}