 CakePHP Cookbook Documentation 5.xtables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc function getTypeName() has been dropped. Use PHP’s get_debug_type() instead. The dependency on league/container was updated to 4.x. This will require the addition of typehints to your ServiceProvider implementations tables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xtables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc function getTypeName() has been dropped. Use PHP’s get_debug_type() instead. The dependency on league/container was updated to 4.x. This will require the addition of typehints to your ServiceProvider implementations tables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook 4.x
calling this process Experimental Features. Core Experimental support for a Dependency Injection container was added. Console ConsoleIo::comment() was added. This method formats text with a blue foreground and IntegrationTestCaseTrait. This method enables services injected with the Dependency Injection container to be replaced with mock or stub objects. View Context classes now include the comment, null, allowDuplicateDeprecations to true in your app_local.php. CakePHP’s dependency on league/container was bumped to ^4.1.1. While the DI container is marked as experimental, this upgrade could require you to upgrade your0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
calling this process Experimental Features. Core Experimental support for a Dependency Injection container was added. Console ConsoleIo::comment() was added. This method formats text with a blue foreground and IntegrationTestCaseTrait. This method enables services injected with the Dependency Injection container to be replaced with mock or stub objects. View Context classes now include the comment, null, allowDuplicateDeprecations to true in your app_local.php. CakePHP’s dependency on league/container was bumped to ^4.1.1. While the DI container is marked as experimental, this upgrade could require you to upgrade your0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 4.x
process Experimental Features. Core • Experimental support for a /development/dependency-injection container was added. Console • ConsoleIo::comment() was added. This method formats text with a blue foreground IntegrationTestCaseTrait. This method enables services injected with the /development/dependency-injection container to be replaced with mock or stub objects. View • Context classes now include the comment, null ations to true in your app_local. php. • CakePHP’s dependency on league/container was bumped to ^4.1.1. While the DI container is marked as experimental, this upgrade could require you to upgrade your0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
process Experimental Features. Core • Experimental support for a /development/dependency-injection container was added. Console • ConsoleIo::comment() was added. This method formats text with a blue foreground IntegrationTestCaseTrait. This method enables services injected with the /development/dependency-injection container to be replaced with mock or stub objects. View • Context classes now include the comment, null ations to true in your app_local. php. • CakePHP’s dependency on league/container was bumped to ^4.1.1. While the DI container is marked as experimental, this upgrade could require you to upgrade your0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook Documentation 5.xtables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc getTypeName() has been dropped. Use PHP’s get_debug_type() instead. • The dependency on league/container was updated to 4.x. This will require the addition of typehints to your ServiceProvider implementations tables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc0 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xtables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc getTypeName() has been dropped. Use PHP’s get_debug_type() instead. • The dependency on league/container was updated to 4.x. This will require the addition of typehints to your ServiceProvider implementations tables for this tutorial can also be generated using the Migrations Plugin. Migrations provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc0 码力 | 848 页 | 2.53 MB | 1 年前3
 Laravel 5.0 Documentation
Providers ii. Service Container i. Introduction ii. Basic Usage iii. Binding Interfaces To Implementations iv. Contextual Binding v. Tagging vi. Practical Applications vii. Container Events iii. Contracts existing constructor injection, you may now type-hint dependencies on controller methods. The IoC container will automatically inject the dependencies, even if the route contains other parameters: Release function register(RegisterRequest $request) { var_dump($request->input()); } When the Laravel IoC container identifies that the class it is injecting is a FormRequest instance, the request will automatically0 码力 | 242 页 | 1.44 MB | 1 年前3 Laravel 5.0 Documentation
Providers ii. Service Container i. Introduction ii. Basic Usage iii. Binding Interfaces To Implementations iv. Contextual Binding v. Tagging vi. Practical Applications vii. Container Events iii. Contracts existing constructor injection, you may now type-hint dependencies on controller methods. The IoC container will automatically inject the dependencies, even if the route contains other parameters: Release function register(RegisterRequest $request) { var_dump($request->input()); } When the Laravel IoC container identifies that the class it is injecting is a FormRequest instance, the request will automatically0 码力 | 242 页 | 1.44 MB | 1 年前3
 CakePHP Cookbook 3.x
for all operations. Now the ORM is split into more layers: Cake\Database\Connection - Provides a platform independent way to create and use connections. This class provides a way to use transactions, execute data. Cake\Database\Dialect - The classes in this namespace provide platform specific SQL and transform queries to work around platform specific limitations. Cake\Database\Type - Is the gateway class to moving existing model code over it will end up in a table object. Table objects don’t contain any platform dependent SQL. Instead they collaborate with entities and the query builder to do their work. Table0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
for all operations. Now the ORM is split into more layers: Cake\Database\Connection - Provides a platform independent way to create and use connections. This class provides a way to use transactions, execute data. Cake\Database\Dialect - The classes in this namespace provide platform specific SQL and transform queries to work around platform specific limitations. Cake\Database\Type - Is the gateway class to moving existing model code over it will end up in a table object. Table objects don’t contain any platform dependent SQL. Instead they collaborate with entities and the query builder to do their work. Table0 码力 | 1244 页 | 1.05 MB | 1 年前3
 CakePHP Cookbook 3.x
all operations. Now the ORM is split into more layers: • Cake\Database\Connection - Provides a platform independent way to create and use connections. This class provides a way to use transactions, execute • Cake\Database\Dialect - The classes in this namespace provide platform specific SQL and transform queries to work around platform specific limitations. • Cake\Database\Type - Is the gateway class moving existing model code over it will end up in a table object. Table objects don’t contain any platform dependent SQL. Instead they collaborate with entities and the query builder to do their work. Table0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
all operations. Now the ORM is split into more layers: • Cake\Database\Connection - Provides a platform independent way to create and use connections. This class provides a way to use transactions, execute • Cake\Database\Dialect - The classes in this namespace provide platform specific SQL and transform queries to work around platform specific limitations. • Cake\Database\Type - Is the gateway class moving existing model code over it will end up in a table object. Table objects don’t contain any platform dependent SQL. Instead they collaborate with entities and the query builder to do their work. Table0 码力 | 967 页 | 2.80 MB | 1 年前3
 CakePHP Cookbook 2.x
rewrites. To do this, follow these steps: 1. Use Microsoft’s Web Platform Installer [https://www.microsoft.com/web/downloads/platform.aspx] to install the URL Rewrite Module 2.0 [https://www.iis.net/ elements (usually a list) drag and drop sortable. The normalized options are: Options containment - Container for move action handle - Selector to handle element. Only this element will start sort action. revert selector to the handle element. snapGrid - The pixel grid that movement snaps to, an array(x, y) container - The element that acts as a bounding box for the draggable element. Event Options start - Event0 码力 | 1096 页 | 958.62 KB | 1 年前3 CakePHP Cookbook 2.x
rewrites. To do this, follow these steps: 1. Use Microsoft’s Web Platform Installer [https://www.microsoft.com/web/downloads/platform.aspx] to install the URL Rewrite Module 2.0 [https://www.iis.net/ elements (usually a list) drag and drop sortable. The normalized options are: Options containment - Container for move action handle - Selector to handle element. Only this element will start sort action. revert selector to the handle element. snapGrid - The pixel grid that movement snaps to, an array(x, y) container - The element that acts as a bounding box for the draggable element. Event Options start - Event0 码力 | 1096 页 | 958.62 KB | 1 年前3
 CakePHP Cookbook 2.x
into IIS to use CakePHP’s native rewrites. To do this, follow these steps: 1. Use Microsoft’s Web Platform Installer6 to install the URL Rewrite Module 2.07 or download it directly (32-bit8 / 64-bit9). appendQueryString="true" /> (continues on next page) 6 https://www.microsoft.com/web/downloads/platform.aspx 7 https://www.iis.net/downloads/microsoft/url-rewrite 8 https://www.microsoft.com/en-us/download/details (usually a list) drag and drop sortable. The normalized options are: Options • containment - Container for move action • handle - Selector to handle element. Only this element will start sort action0 码力 | 820 页 | 2.52 MB | 1 年前3 CakePHP Cookbook 2.x
into IIS to use CakePHP’s native rewrites. To do this, follow these steps: 1. Use Microsoft’s Web Platform Installer6 to install the URL Rewrite Module 2.07 or download it directly (32-bit8 / 64-bit9). appendQueryString="true" /> (continues on next page) 6 https://www.microsoft.com/web/downloads/platform.aspx 7 https://www.iis.net/downloads/microsoft/url-rewrite 8 https://www.microsoft.com/en-us/download/details (usually a list) drag and drop sortable. The normalized options are: Options • containment - Container for move action • handle - Selector to handle element. Only this element will start sort action0 码力 | 820 页 | 2.52 MB | 1 年前3
 Laravel 5.6 中文文档$app) { // Called when container resolves object of any type... }); $this->app->resolving(HelpSpot\API::class, function ($api, $app) { // Called when container resolves objects of type "HelpSpot\API" 接口。所以,你可以通过类型提示 PSR-11 容器接口来获取 Laravel 容器的实例: use Psr\Container\ContainerInterface; Route::get('/', function (ContainerInterface $container) { $service = $container->get('Service'); // }); 注:如果绑定到容器的唯一标识有冲突调用 erProvider; class AppServiceProvider extends ServiceProvider { /** * All of the container bindings that should be registered. * 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel0 码力 | 377 页 | 14.56 MB | 1 年前3 Laravel 5.6 中文文档$app) { // Called when container resolves object of any type... }); $this->app->resolving(HelpSpot\API::class, function ($api, $app) { // Called when container resolves objects of type "HelpSpot\API" 接口。所以,你可以通过类型提示 PSR-11 容器接口来获取 Laravel 容器的实例: use Psr\Container\ContainerInterface; Route::get('/', function (ContainerInterface $container) { $service = $container->get('Service'); // }); 注:如果绑定到容器的唯一标识有冲突调用 erProvider; class AppServiceProvider extends ServiceProvider { /** * All of the container bindings that should be registered. * 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel0 码力 | 377 页 | 14.56 MB | 1 年前3
共 65 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7














