mirror of
https://github.com/processwire/processwire.git
synced 2025-08-30 01:49:58 +02:00
Various updates primarily related to functions API and profiler support.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* ProcessWire PhpStorm Meta
|
||||
*
|
||||
@@ -14,64 +14,64 @@ 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,
|
||||
'hooks' instanceof WireHooks,
|
||||
'files' instanceof WireFileTools,
|
||||
'datetime' instanceof WireDateTime,
|
||||
'mail' instanceof WireMailTools
|
||||
'config' instanceof \ProcessWire\Config,
|
||||
'wire' instanceof \ProcessWire\ProcessWire,
|
||||
'log' instanceof \ProcessWire\WireLog,
|
||||
'notices' instanceof \ProcessWire\Notices,
|
||||
'sanitizer' instanceof \ProcessWire\Sanitizer,
|
||||
'database' instanceof \ProcessWire\WireDatabasePDO,
|
||||
'db' instanceof \ProcessWire\DatabaseMysqli,
|
||||
'cache' instanceof \ProcessWire\MarkupCache,
|
||||
'modules' instanceof \ProcessWire\Modules,
|
||||
'procache' instanceof \ProCache,
|
||||
'fieldtypes' instanceof \ProcessWire\Fieldtypes,
|
||||
'fields' instanceof \ProcessWire\Fields,
|
||||
'fieldgroups' instanceof \ProcessWire\Fieldgroups,
|
||||
'templates' instanceof \ProcessWire\Templates,
|
||||
'pages' instanceof \ProcessWire\Pages,
|
||||
'permissions' instanceof \ProcessWire\Permissions,
|
||||
'roles' instanceof \ProcessWire\Roles,
|
||||
'users' instanceof \ProcessWire\Users,
|
||||
'user' instanceof \ProcessWire\User,
|
||||
'session' instanceof \ProcessWire\Session,
|
||||
'input' instanceof \ProcessWire\WireInput,
|
||||
'languages' instanceof \ProcessWire\Languages,
|
||||
'page' instanceof \ProcessWire\Page,
|
||||
'hooks' instanceof \ProcessWire\WireHooks,
|
||||
'files' instanceof \ProcessWire\WireFileTools,
|
||||
'datetime' instanceof \ProcessWire\WireDateTime,
|
||||
'mail' instanceof \ProcessWire\WireMailTools
|
||||
],
|
||||
\Wire::wire('') => [
|
||||
// this one does not appear to work, leaving in case someone knows how to make it work
|
||||
'' == '@',
|
||||
'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,
|
||||
'hooks' instanceof WireHooks,
|
||||
'files' instanceof WireFileTools,
|
||||
'datetime' instanceof WireDateTime,
|
||||
'mail' instanceof WireMailTools
|
||||
'config' instanceof \ProcessWire\Config,
|
||||
'wire' instanceof \ProcessWire\ProcessWire,
|
||||
'log' instanceof \ProcessWire\WireLog,
|
||||
'notices' instanceof \ProcessWire\Notices,
|
||||
'sanitizer' instanceof \ProcessWire\Sanitizer,
|
||||
'database' instanceof \ProcessWire\WireDatabasePDO,
|
||||
'db' instanceof \ProcessWire\DatabaseMysqli,
|
||||
'cache' instanceof \ProcessWire\MarkupCache,
|
||||
'modules' instanceof \ProcessWire\Modules,
|
||||
'procache' instanceof \ProCache,
|
||||
'fieldtypes' instanceof \ProcessWire\Fieldtypes,
|
||||
'fields' instanceof \ProcessWire\Fields,
|
||||
'fieldgroups' instanceof \ProcessWire\Fieldgroups,
|
||||
'templates' instanceof \ProcessWire\Templates,
|
||||
'pages' instanceof \ProcessWire\Pages,
|
||||
'permissions' instanceof \ProcessWire\Permissions,
|
||||
'roles' instanceof \ProcessWire\Roles,
|
||||
'users' instanceof \ProcessWire\Users,
|
||||
'user' instanceof \ProcessWire\User,
|
||||
'session' instanceof \ProcessWire\Session,
|
||||
'input' instanceof \ProcessWire\WireInput,
|
||||
'languages' instanceof \ProcessWire\Languages,
|
||||
'page' instanceof \ProcessWire\Page,
|
||||
'hooks' instanceof \ProcessWire\WireHooks,
|
||||
'files' instanceof \ProcessWire\WireFileTools,
|
||||
'datetime' instanceof \ProcessWire\WireDateTime,
|
||||
'mail' instanceof \ProcessWire\WireMailTools
|
||||
]
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user