App下載

詞條

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

5341.Laravel 8 app_path() {#collection-method}

app_path 函數(shù)返回 app 目錄的完整路徑。您亦可使用 app_path 函數(shù)來生成應(yīng)用目錄下特定文件的完整路徑:$path = app_path(); $path = app_path('Http/Controllers/Controller.php');

http://m.o2fo.com/laravel_8/laravel_8-n9pc3hkk.html

5342.Laravel 8 config_path() {#collection-method}

config_path 函數(shù)返回 config 目錄的完整路徑。您亦可使用 config_path 函數(shù)來生成應(yīng)用配置目錄中的特定文件的完整路徑:$path = config_path(); $path = config_path('app.php');

http://m.o2fo.com/laravel_8/laravel_8-fol83hkm.html

5343.Laravel 8 database_path() {#collection-method}

database_path 函數(shù)返回 database 目錄的完整路徑。您亦可使用 database_path 函數(shù)來生成數(shù)據(jù)庫目錄下特定文件的完整路徑:$path = database_path(); $path = database_path('factories/UserFactory.php');

http://m.o2fo.com/laravel_8/laravel_8-9w6s3hkn.html

5344.Laravel 8 e() {#collection-method}

e 函數(shù)在指定字符串上運行 PHP 的 htmlspecialchars 函數(shù)( double_encode 選項為 true ):echo e('<html>foo</html>'); // <html>foo</html>

http://m.o2fo.com/laravel_8/laravel_8-wgmb3hkv.html

5345.Laravel 8 Str::padBoth() {#collection-method}

Str::padBoth 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的兩側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::padBoth('James', 10, '_'); // '__James___' $padded = Str::padBoth('James', 10); // ' James '

http://m.o2fo.com/laravel_8/laravel_8-5zo93hlg.html

5346.Laravel 8 Str::padLeft() {#collection-method}

Str::padLeft 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的左側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::padLeft('James', 10, '-='); // '-=-=-James' $padded = Str::padLeft('James', 10); // ' James'

http://m.o2fo.com/laravel_8/laravel_8-day63hlh.html

5347.Laravel 8 Str::padRight() {#collection-method}

Str::padRight 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的右側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::padRight('James', 10, '-'); // 'James-----' $padded = Str::padRight('James', 10); // 'James '

http://m.o2fo.com/laravel_8/laravel_8-91yg3hli.html

5348.Laravel 8 Str::random() {#collection-method}

Str::random 函數(shù)生成一個指定長度的隨機字符串。這個函數(shù)用 PHP 的 random_bytes 函數(shù)use Illuminate\Support\Str; $random = Str::random(40);

http://m.o2fo.com/laravel_8/laravel_8-lebk3hlk.html

5349.Laravel 8 Str::substr()

Str::substr 方法與 php 自帶的字符串 stustr 截取函數(shù)相同,例如:use Illuminate\Support\Str; $converted = Str::substr('The Laravel Framework', 4, 7); // Laravel

http://m.o2fo.com/laravel_8/laravel_8-a3693hlt.html

5350.Laravel 8 padBoth {#collection-method}

padBoth 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的兩側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::of('James')->padBoth(10, '_'); // '__James___' $padded = Str::of('James')->padBoth(10); // ' James '

http://m.o2fo.com/laravel_8/laravel_8-bgx63hms.html

抱歉,暫時沒有相關(guān)的微課

w3cschool 建議您:

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

抱歉,暫時沒有相關(guān)的視頻課程

w3cschool 建議您:

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

抱歉,暫時沒有相關(guān)的教程

w3cschool 建議您:

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

5341.Laravel 8 app_path() {#collection-method}

app_path 函數(shù)返回 app 目錄的完整路徑。您亦可使用 app_path 函數(shù)來生成應(yīng)用目錄下特定文件的完整路徑:$path = app_path(); $path = app_path('Http/Controllers/Controller.php');

http://m.o2fo.com/laravel_8/laravel_8-n9pc3hkk.html

5342.Laravel 8 config_path() {#collection-method}

config_path 函數(shù)返回 config 目錄的完整路徑。您亦可使用 config_path 函數(shù)來生成應(yīng)用配置目錄中的特定文件的完整路徑:$path = config_path(); $path = config_path('app.php');

http://m.o2fo.com/laravel_8/laravel_8-fol83hkm.html

5343.Laravel 8 database_path() {#collection-method}

database_path 函數(shù)返回 database 目錄的完整路徑。您亦可使用 database_path 函數(shù)來生成數(shù)據(jù)庫目錄下特定文件的完整路徑:$path = database_path(); $path = database_path('factories/UserFactory.php');

http://m.o2fo.com/laravel_8/laravel_8-9w6s3hkn.html

5344.Laravel 8 e() {#collection-method}

e 函數(shù)在指定字符串上運行 PHP 的 htmlspecialchars 函數(shù)( double_encode 選項為 true ):echo e('<html>foo</html>'); // <html>foo</html>

http://m.o2fo.com/laravel_8/laravel_8-wgmb3hkv.html

5345.Laravel 8 Str::padBoth() {#collection-method}

Str::padBoth 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的兩側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::padBoth('James', 10, '_'); // '__James___' $padded = Str::padBoth('James', 10); // ' James '

http://m.o2fo.com/laravel_8/laravel_8-5zo93hlg.html

5346.Laravel 8 Str::padLeft() {#collection-method}

Str::padLeft 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的左側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::padLeft('James', 10, '-='); // '-=-=-James' $padded = Str::padLeft('James', 10); // ' James'

http://m.o2fo.com/laravel_8/laravel_8-day63hlh.html

5347.Laravel 8 Str::padRight() {#collection-method}

Str::padRight 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的右側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::padRight('James', 10, '-'); // 'James-----' $padded = Str::padRight('James', 10); // 'James '

http://m.o2fo.com/laravel_8/laravel_8-91yg3hli.html

5348.Laravel 8 Str::random() {#collection-method}

Str::random 函數(shù)生成一個指定長度的隨機字符串。這個函數(shù)用 PHP 的 random_bytes 函數(shù)use Illuminate\Support\Str; $random = Str::random(40);

http://m.o2fo.com/laravel_8/laravel_8-lebk3hlk.html

5349.Laravel 8 Str::substr()

Str::substr 方法與 php 自帶的字符串 stustr 截取函數(shù)相同,例如:use Illuminate\Support\Str; $converted = Str::substr('The Laravel Framework', 4, 7); // Laravel

http://m.o2fo.com/laravel_8/laravel_8-a3693hlt.html

5350.Laravel 8 padBoth {#collection-method}

padBoth 方法包裝了 PHP 的 str_pad 函數(shù),在指定字符串的兩側(cè)填充上另一字符串:use Illuminate\Support\Str; $padded = Str::of('James')->padBoth(10, '_'); // '__James___' $padded = Str::of('James')->padBoth(10); // ' James '

http://m.o2fo.com/laravel_8/laravel_8-bgx63hms.html

抱歉,暫時沒有相關(guān)的文章

w3cschool 建議您:

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

熱門課程