mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
finished
This commit is contained in:
parent
051a32575c
commit
b12c9ecb55
21 changed files with 750 additions and 86 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue