《Slides Dev Web》 12. Risques applicatifs
31https://www.freecodecamp.org/news/intro-to-webauthn/ 32https://hackertarget.com/cowrie-honeypot-analysis-24hrs/ 10 Figure 4: Auth 11 – Session, IP, user agent, proxy, … • Utiliser un framework –0 码力 | 12 页 | 474.37 KB | 1 年前3
Laravel 3.2 Documentationfolder. Laravel 3.2 Added to_array method to the base Eloquent model. Added $hidden static variable to the base Eloquent model. Added sync method to has_many_and_belongs_to Eloquent Allows pivot table timestamps to be disabled. Made the get_timestamp Eloquent method static. Request::secure now takes application.ssl configuration option into consideration. php file in the libraries folder with the following code. static function write($text) { echo $text; } } You can now call Printer::write('this text0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.0 Documentation
Explanation Practical Usage Creating Facades Mocking Facades Facade Class Reference Facades provide a "static" interface to classes that are available in the application's IoC container. Laravel ships with many serve as "static proxies" to underlying classes in the IoC container, providing the benefit of a terse, expressive syntax while maintaining more testability and flexibility than traditional static methods the static method get is being called on the Cache class. $value = Cache::get('key'); However, if we look at that Illuminate\Support\Facades\Cache class, you'll see that there is no static method0 码力 | 242 页 | 1.44 MB | 1 年前3
The Laravel Handbook
intro. We’ll see more about Blade with components later. 4. Dynamic routes We’ve seen how to create static routes with Laravel. Sometimes you want your routes to be dynamic. This will be especially useful 102 Route::get('/dogs', function () { return view('dogs'); })->name('dogs'); This is a static route, that responds on the /dogs URL. Now suppose you want to create a page for each single dog dog, maybe you’ll fill that with a description, an image, whatever. You can’t create a static route for each dog in the database, because you don’t know the name of the dog. Imagine you have 2 dogs0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 5.6 中文文档Joomla Katana Kirby Magento OctoberCMS Sculpin Slim Statamic Static HTML Symfony WordPress Zend 以上支持的驱动文件位于 ~/.composer/vendor/laravel/valet/cli/drivers 的,该方法会返回磁盘上的完整路径,如果输入请求不 是请求静态文件,则返回 false: /** * Determine if the incoming request is for a static file. * * @param string $sitePath * @param string $siteName * @param string $uri extends Facade { /** * 获取组件注册名称 * * @return string */ protected static function getFacadeAccessor() { return 'cache'; } } Cache 门面继承 Facade 基类并定义了 getFacadeAccessor0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档\Illuminate\Database\Query\Builder 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 16 */ public static function table($table, $as = null, $conn ection = null) cursor 方法 影响级别:低 cursor 方法现在返回的 是 Il Jigsaw Joomla Katana Kirby Magento OctoberCMS Sculpin Slim Statamic Static HTML Symfony WordPress Zend 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 式文件,如果文件是静态的,该方法会返回磁盘上的完整路径,如果 输入请求不是请求静态文件,则返回 false: /** * Determine if the incoming request is for a static f ile. * * @param string $sitePath * @param string $siteName * @param string $uri * @return0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.2 中文文档extends Facade{ /** * 获取组件注册名称 * * @return string */ protected static function getFacadeAccessor() { return 'cache'; } } Cache 门面继承 Facade 基类并定义了 getFacadeAccessor Laravel 学院致力于提供优质 Laravel 中文学习资源 119 */ protected static function boot() { parent::boot(); static::addGlobalScope(new AgeScope); } } 添加作用域后,如果使用 User::all() */ protected static function boot() { parent::boot(); 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 120 static::addGlobalScope('age'0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档该方法会返回磁盘上的完整路径,如果输入请求不是请求静态文件,则返回 false: /** * Determine if the incoming request is for a static file. * * @param string $sitePath 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 extends Facade{ /** * 获取组件注册名称 * * @return string */ protected static function getFacadeAccessor() { return 'cache'; } } Cache 门面继承 Facade 基类并定义了 getFacadeAccessor model. * * @return void */ protected static function boot() { parent::boot(); static::addGlobalScope(new AgeScope); } } 本文档由 Laravel 学院(LaravelAcademy0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.1 中文文档public static function create(array $attributes = []){ // Your custom implementation } find 方法 如果你要在自己的模型中重写 find 方法并在其中调用 parent::find(),应该改由调用 Eloquent 查询构建器的 find 方法: public static function function find($id, $columns = ['*']){ $model = static::query()->find($id, $columns); // ... return $model; } lists 方法 lists 方法现在返回一个 Collection 实例而不是包含 Eloquent 查询结果的数组,如果你想 将 Collection extends Facade{ /** * 获取组件注册名称 * * @return string */ protected static function getFacadeAccessor() { return 'cache'; } } Cache 门面继承 Facade 基类并定义了 getFacadeAccessor0 码力 | 307 页 | 3.46 MB | 1 年前3
Learning Laravelnot defined in a model the default will be used. You may also specify another connection using the static on method: // Using the sqlite connection Table::on('sqlite')->select(...)->get() // Using the acade; https://riptutorial.com/ 163 class OurServiceFacade extends Facade { protected static function getFacadeAccessor() { return 'OurService'; } } You also need to register0 码力 | 216 页 | 1.58 MB | 1 年前3
共 10 条
- 1













