App下載

詞條

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

4801.實(shí)際應(yīng)用

...中「類(lèi)型指定」所需依賴,而且它們將被自動(dòng)注入。 <?php namespace App\Http\Controllers; use Illuminate\Routing\Controller; use App\Repositories\OrderRepository; class OrdersController extends Controller { /** * The order repository instance. */ protected $orders; /** * Create ...

http://www.o2fo.com/qpmsiw/vk1lfozt.html

4802.響應(yīng)宏

...方法 macro。 舉個(gè)例子,來(lái)自服務(wù)提供者的 boot 方法: <?php namespace App\Providers; use Response; use Illuminate\Support\ServiceProvider; class ResponseMacroServiceProvider extends ServiceProvider { /** * Perform post-registration booting of services. * * @return void */ public fu...

http://www.o2fo.com/qpmsiw/tnjy5ozt.html

4803.注冊(cè)提供者

所有的服務(wù)提供者都在 config/app.php 此一配置文件中被注冊(cè)。此文件包含了一個(gè) providers 數(shù)組,你可以在其中列出你所有服務(wù)提供者的名稱。此數(shù)組默認(rèn)會(huì)列出一組 Laravel 的核心服務(wù)提供者。這些提供者啟動(dòng)了 Laravel 的核心組件...

http://www.o2fo.com/qpmsiw/wrzijozt.html

4804.緩載提供者

... provides 方法應(yīng)返回提供者所注冊(cè)的服務(wù)容器綁定。 <?php namespace App\Providers; use Riak\Connection; use Illuminate\Support\ServiceProvider; class RiakServiceProvider extends ServiceProvider { /** * 指定是否延緩提供者加載。 * * @var bool */ protected $defer = true; ...

http://www.o2fo.com/qpmsiw/efavzozt.html

4805.如何使用 Contracts

...類(lèi)型提示」解析類(lèi)。例如,看下面的事件處理程序: <?php namespace App\Handlers\Events; use App\User; use App\Events\NewUserRegistered; use Illuminate\Contracts\Redis\Database; class CacheUserInformation { /** * Redis 數(shù)據(jù)庫(kù)實(shí)現(xiàn) */ protected $redis; /** * 建立新的事...

http://www.o2fo.com/qpmsiw/2765vozt.html

4806.Cookies

...to the outgoing response, even before that response has been created: <?php namespace App\Http\Controllers; use Cookie; use Illuminate\Routing\Controller; class UserController extends Controller { /** * Update a resource * * @return Response */ public function update() { Cookie::queue('name', 'va...

http://www.o2fo.com/qpmsiw/kdvs5ozt.html

4807.實(shí)際用法

...進(jìn)入命名空間。所有的 facades 存在于全局命名空間: <?php namespace App\Http\Controllers; use Cache; class PhotosController extends Controller { /** * 取得所有的應(yīng)用程序相片。 * * @return Response */ public function index() { $photos = Cache::get('photos'); // } } ...

http://www.o2fo.com/qpmsiw/lgem7ozt.html

4808.上傳文件

...ponent\HttpFoundation\File\UploadedFile 的實(shí)例,UploadedFile 繼承了 PHP 的 SplFileInfo 類(lèi)并且提供了很多和文件交互的方法。 確認(rèn)上傳的文件是否有效 if (Request::file('photo')->isValid()) { // } 移動(dòng)上傳的文件 Request::file('photo')->move($destinationPath...

http://www.o2fo.com/qpmsiw/74w1sozt.html

4809.App 目錄

...Artisan 命令產(chǎn)生。要查看可以使用的命令,在終端機(jī)執(zhí)行 php artisan list make 命令。

http://www.o2fo.com/qpmsiw/nts9hozt.html

4810.為應(yīng)用程序配置命名空間

...的應(yīng)用程序叫做「SocialNet」,你將會(huì)執(zhí)行下面的命令: php artisan app:name SocialNet

http://www.o2fo.com/qpmsiw/r49y3ozt.html

抱歉,暫時(shí)沒(méi)有相關(guān)的微課

w3cschool 建議您:

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

抱歉,暫時(shí)沒(méi)有相關(guān)的視頻課程

w3cschool 建議您:

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

抱歉,暫時(shí)沒(méi)有相關(guān)的教程

w3cschool 建議您:

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

4801.實(shí)際應(yīng)用

...中「類(lèi)型指定」所需依賴,而且它們將被自動(dòng)注入。 <?php namespace App\Http\Controllers; use Illuminate\Routing\Controller; use App\Repositories\OrderRepository; class OrdersController extends Controller { /** * The order repository instance. */ protected $orders; /** * Create ...

http://www.o2fo.com/qpmsiw/vk1lfozt.html

4802.響應(yīng)宏

...方法 macro。 舉個(gè)例子,來(lái)自服務(wù)提供者的 boot 方法: <?php namespace App\Providers; use Response; use Illuminate\Support\ServiceProvider; class ResponseMacroServiceProvider extends ServiceProvider { /** * Perform post-registration booting of services. * * @return void */ public fu...

http://www.o2fo.com/qpmsiw/tnjy5ozt.html

4803.注冊(cè)提供者

所有的服務(wù)提供者都在 config/app.php 此一配置文件中被注冊(cè)。此文件包含了一個(gè) providers 數(shù)組,你可以在其中列出你所有服務(wù)提供者的名稱。此數(shù)組默認(rèn)會(huì)列出一組 Laravel 的核心服務(wù)提供者。這些提供者啟動(dòng)了 Laravel 的核心組件...

http://www.o2fo.com/qpmsiw/wrzijozt.html

4804.緩載提供者

... provides 方法應(yīng)返回提供者所注冊(cè)的服務(wù)容器綁定。 <?php namespace App\Providers; use Riak\Connection; use Illuminate\Support\ServiceProvider; class RiakServiceProvider extends ServiceProvider { /** * 指定是否延緩提供者加載。 * * @var bool */ protected $defer = true; ...

http://www.o2fo.com/qpmsiw/efavzozt.html

4805.如何使用 Contracts

...類(lèi)型提示」解析類(lèi)。例如,看下面的事件處理程序: <?php namespace App\Handlers\Events; use App\User; use App\Events\NewUserRegistered; use Illuminate\Contracts\Redis\Database; class CacheUserInformation { /** * Redis 數(shù)據(jù)庫(kù)實(shí)現(xiàn) */ protected $redis; /** * 建立新的事...

http://www.o2fo.com/qpmsiw/2765vozt.html

4806.Cookies

...to the outgoing response, even before that response has been created: <?php namespace App\Http\Controllers; use Cookie; use Illuminate\Routing\Controller; class UserController extends Controller { /** * Update a resource * * @return Response */ public function update() { Cookie::queue('name', 'va...

http://www.o2fo.com/qpmsiw/kdvs5ozt.html

4807.實(shí)際用法

...進(jìn)入命名空間。所有的 facades 存在于全局命名空間: <?php namespace App\Http\Controllers; use Cache; class PhotosController extends Controller { /** * 取得所有的應(yīng)用程序相片。 * * @return Response */ public function index() { $photos = Cache::get('photos'); // } } ...

http://www.o2fo.com/qpmsiw/lgem7ozt.html

4808.上傳文件

...ponent\HttpFoundation\File\UploadedFile 的實(shí)例,UploadedFile 繼承了 PHP 的 SplFileInfo 類(lèi)并且提供了很多和文件交互的方法。 確認(rèn)上傳的文件是否有效 if (Request::file('photo')->isValid()) { // } 移動(dòng)上傳的文件 Request::file('photo')->move($destinationPath...

http://www.o2fo.com/qpmsiw/74w1sozt.html

4809.App 目錄

...Artisan 命令產(chǎn)生。要查看可以使用的命令,在終端機(jī)執(zhí)行 php artisan list make 命令。

http://www.o2fo.com/qpmsiw/nts9hozt.html

4810.為應(yīng)用程序配置命名空間

...的應(yīng)用程序叫做「SocialNet」,你將會(huì)執(zhí)行下面的命令: php artisan app:name SocialNet

http://www.o2fo.com/qpmsiw/r49y3ozt.html

抱歉,暫時(shí)沒(méi)有相關(guān)的文章

w3cschool 建議您:

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

熱門(mén)課程