本文整理汇总了PHP中Wire::wire方法的典型用法代码示例。如果您正苦于以下问题:PHP Wire::wire方法的具体用法?PHP Wire::wire怎么用?PHP Wire::wire使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Wire
的用法示例。
在下文中一共展示了Wire::wire方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
/**
* ProcessWire PhpStorm Meta
*
* This file is not a CODE, it makes no sense and won't run or validate
* Its AST serves PhpStorm IDE as DATA source to make advanced type inference decisions.
*
* @see https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata
*/
namespace PHPSTORM_META;
$STATIC_METHOD_TYPES = [\wire('') => ['' == '@', 'config' instanceof Config, 'wire' instanceof ProcessWire, 'log' instanceof WireLog, 'notices' instanceof Notices, 'sanitizer' instanceof Sanitizer, 'database' instanceof WireDatabasePDO, 'db' instanceof DatabaseMysqli, 'cache' instanceof MarkupCache, 'modules' instanceof Modules, 'procache' instanceof ProCache, 'fieldtypes' instanceof Fieldtypes, 'fields' instanceof Fields, 'fieldgroups' instanceof Fieldgroups, 'templates' instanceof Templates, 'pages' instanceof Pages, 'permissions' instanceof Permissions, 'roles' instanceof Roles, 'users' instanceof Users, 'user' instanceof User, 'session' instanceof Session, 'input' instanceof WireInput, 'languages' instanceof Languages, 'page' instanceof Page], \Wire::wire('') => ['' == '@', 'config' instanceof Config, 'wire' instanceof ProcessWire, 'log' instanceof WireLog, 'notices' instanceof Notices, 'sanitizer' instanceof Sanitizer, 'database' instanceof WireDatabasePDO, 'db' instanceof DatabaseMysqli, 'cache' instanceof MarkupCache, 'modules' instanceof Modules, 'procache' instanceof ProCache, 'fieldtypes' instanceof Fieldtypes, 'fields' instanceof Fields, 'fieldgroups' instanceof Fieldgroups, 'templates' instanceof Templates, 'pages' instanceof Pages, 'permissions' instanceof Permissions, 'roles' instanceof Roles, 'users' instanceof Users, 'user' instanceof User, 'session' instanceof Session, 'input' instanceof WireInput, 'languages' instanceof Languages, 'page' instanceof Page]];