1
0
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:
Ryan Cramer
2016-12-01 10:56:04 -05:00
parent 30f96593bb
commit ef42513831
7 changed files with 158 additions and 35 deletions

View File

@@ -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,