mirror of
https://github.com/processwire/processwire.git
synced 2025-08-30 01:49:58 +02:00
Add PageFieldValueInterface as an implementation option for objects supporting page field values. Basically a helper for certain object-based values like Pagefiles/Pageimages, and likely others.
This commit is contained in:
@@ -15,6 +15,7 @@ namespace PHPSTORM_META {
|
||||
\wire('') => [
|
||||
'' == '@',
|
||||
'config' instanceof \ProcessWire\Config,
|
||||
'cache' instanceof \ProcessWire\WireCache,
|
||||
'wire' instanceof \ProcessWire\ProcessWire,
|
||||
'log' instanceof \ProcessWire\WireLog,
|
||||
'notices' instanceof \ProcessWire\Notices,
|
||||
@@ -46,6 +47,7 @@ namespace PHPSTORM_META {
|
||||
// this one does not appear to work, leaving in case someone knows how to make it work
|
||||
'' == '@',
|
||||
'config' instanceof \ProcessWire\Config,
|
||||
'cache' instanceof \ProcessWire\WireCache,
|
||||
'wire' instanceof \ProcessWire\ProcessWire,
|
||||
'log' instanceof \ProcessWire\WireLog,
|
||||
'notices' instanceof \ProcessWire\Notices,
|
||||
|
Reference in New Issue
Block a user