App下載

詞條

大約有 7,000 項符合查詢結(jié)果 ,庫內(nèi)數(shù)據(jù)總量為 78,250 項。(搜索耗時:0.0049秒)

5531.Laravel 8 隊列

...快的響應。一旦你配置了隊列驅(qū)動程序,你的 config/scout.php 配置文件中 queue 選項的值要設置為 true:'queue' => true,

http://www.o2fo.com/laravel_8/laravel_8-wz273ikp.html

5532.Laravel 8 配置模型索引

...重寫模型上的 searchableAs 方法來自定義模型的索引:<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Searchable; class Post extends Model { use Searchable; /** * Get the index name for the model. * * @return string */ public function searchable...

http://www.o2fo.com/laravel_8/laravel_8-u9wp3ikt.html

5533.Laravel 8 配置可搜索數(shù)據(jù)

...索引的數(shù)據(jù),可以覆蓋模型上的 toSearchableArray 方法:<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Searchable; class Post extends Model { use Searchable; /** * 獲取模型的可搜索數(shù)據(jù)。 * * @return array */ public function toSearcha...

http://www.o2fo.com/laravel_8/laravel_8-tsxz3iku.html

5534.Laravel 8 配置模型 ID

...通過模型上的 getScoutKey 和 getScoutKeyName 方法自定義:<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Searchable; class User extends Model { use Searchable; /** * 獲取模型主鍵。 * * @return mixed */ public function getScoutKey() { return...

http://www.o2fo.com/laravel_8/laravel_8-val63ikv.html

5535.Laravel 8 軟刪除

...ing),并且您需要搜索已刪除的模型,請設置 config /scout.php 中的 soft_delete 選項。 配置文件為 “ true”:'soft_delete' => true, 當此配置選項為 “true” 時,Scout 將不會從搜索索引中刪除軟刪除的模型。 相反,它將在索引記...

http://www.o2fo.com/laravel_8/laravel_8-u6xy3il8.html

5536.Laravel 8 注冊引擎

...n new MySqlSearchEngine; }); } 引擎注冊后,你可以在 config/scout.php 配置文件中指定它為默認的 Scout driver:'driver' => 'mysql',

http://www.o2fo.com/laravel_8/laravel_8-vct83ilc.html

5537.Laravel 8 生成宏命令

...義「macros」時, 需要實現(xiàn) service provider’s boot 方法:<?php namespace App\Providers; use Illuminate\Support\Facades\Response; use Illuminate\Support\ServiceProvider; use Laravel\Scout\Builder; class ScoutMacroServiceProvider extends ServiceProvider { /** * 注冊應用的Scout宏命...

http://www.o2fo.com/laravel_8/laravel_8-qvk73ild.html

5538.Laravel 8 配置

... OAuth 服務添加憑據(jù)。這些憑證應該放在你的 config/services.php 配置文件中,并且應該使用 facebook, twitter, linkedin, google, github, gitlab 或 bitbucket 作為鍵名,取決于您的應用程序所需的提供商。例如:'github' => [ 'client...

http://www.o2fo.com/laravel_8/laravel_8-hbcq3ilj.html

5539.Laravel 8 路由

...請求??梢酝ㄟ^ Socialite facade 的方式來訪問 Socialite:<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Laravel\Socialite\Facades\Socialite; class LoginController extends Controller { /** * 將用戶重定向到 GitHub 的授權頁面 * * @return ...

http://www.o2fo.com/laravel_8/laravel_8-gpno3ilk.html

5540.Laravel 8 配置

使用 Telescope,其主要配置文件將位于 config/telescope.php。此配置文件允許您配置監(jiān)聽程序選項,每個配置選項都包含其用途說明,因此請務必徹底瀏覽此文件。如果需要,您可以使用 enabled 配置選項完全禁用 Telescope 的數(shù)據(jù)收集:...

http://www.o2fo.com/laravel_8/laravel_8-wo9d3ilw.html

抱歉,暫時沒有相關的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

5531.Laravel 8 隊列

...快的響應。一旦你配置了隊列驅(qū)動程序,你的 config/scout.php 配置文件中 queue 選項的值要設置為 true:'queue' => true,

http://www.o2fo.com/laravel_8/laravel_8-wz273ikp.html

5532.Laravel 8 配置模型索引

...重寫模型上的 searchableAs 方法來自定義模型的索引:<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Searchable; class Post extends Model { use Searchable; /** * Get the index name for the model. * * @return string */ public function searchable...

http://www.o2fo.com/laravel_8/laravel_8-u9wp3ikt.html

5533.Laravel 8 配置可搜索數(shù)據(jù)

...索引的數(shù)據(jù),可以覆蓋模型上的 toSearchableArray 方法:<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Searchable; class Post extends Model { use Searchable; /** * 獲取模型的可搜索數(shù)據(jù)。 * * @return array */ public function toSearcha...

http://www.o2fo.com/laravel_8/laravel_8-tsxz3iku.html

5534.Laravel 8 配置模型 ID

...通過模型上的 getScoutKey 和 getScoutKeyName 方法自定義:<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Searchable; class User extends Model { use Searchable; /** * 獲取模型主鍵。 * * @return mixed */ public function getScoutKey() { return...

http://www.o2fo.com/laravel_8/laravel_8-val63ikv.html

5535.Laravel 8 軟刪除

...ing),并且您需要搜索已刪除的模型,請設置 config /scout.php 中的 soft_delete 選項。 配置文件為 “ true”:'soft_delete' => true, 當此配置選項為 “true” 時,Scout 將不會從搜索索引中刪除軟刪除的模型。 相反,它將在索引記...

http://www.o2fo.com/laravel_8/laravel_8-u6xy3il8.html

5536.Laravel 8 注冊引擎

...n new MySqlSearchEngine; }); } 引擎注冊后,你可以在 config/scout.php 配置文件中指定它為默認的 Scout driver:'driver' => 'mysql',

http://www.o2fo.com/laravel_8/laravel_8-vct83ilc.html

5537.Laravel 8 生成宏命令

...義「macros」時, 需要實現(xiàn) service provider’s boot 方法:<?php namespace App\Providers; use Illuminate\Support\Facades\Response; use Illuminate\Support\ServiceProvider; use Laravel\Scout\Builder; class ScoutMacroServiceProvider extends ServiceProvider { /** * 注冊應用的Scout宏命...

http://www.o2fo.com/laravel_8/laravel_8-qvk73ild.html

5538.Laravel 8 配置

... OAuth 服務添加憑據(jù)。這些憑證應該放在你的 config/services.php 配置文件中,并且應該使用 facebook, twitter, linkedin, google, github, gitlab 或 bitbucket 作為鍵名,取決于您的應用程序所需的提供商。例如:'github' => [ 'client...

http://www.o2fo.com/laravel_8/laravel_8-hbcq3ilj.html

5539.Laravel 8 路由

...請求??梢酝ㄟ^ Socialite facade 的方式來訪問 Socialite:<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Laravel\Socialite\Facades\Socialite; class LoginController extends Controller { /** * 將用戶重定向到 GitHub 的授權頁面 * * @return ...

http://www.o2fo.com/laravel_8/laravel_8-gpno3ilk.html

5540.Laravel 8 配置

使用 Telescope,其主要配置文件將位于 config/telescope.php。此配置文件允許您配置監(jiān)聽程序選項,每個配置選項都包含其用途說明,因此請務必徹底瀏覽此文件。如果需要,您可以使用 enabled 配置選項完全禁用 Telescope 的數(shù)據(jù)收集:...

http://www.o2fo.com/laravel_8/laravel_8-wo9d3ilw.html

抱歉,暫時沒有相關的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程