Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4118043
EvalError.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
975 B
Referenced Files
None
Subscribers
None
EvalError.php
View Options
<?php
// AUTOMATICALLY GENERATED. DO NOT EDIT.
// Use `composer build` to regenerate.
namespace
Wikimedia\IDLeDOM\Helper
;
trait
EvalError
{
// Underscore is used to avoid conflicts with DOM-reserved names
// phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
/**
* Handle an attempt to get a non-existing property on this
* object. The default implementation raises an exception
* but the implementor can choose a different behavior:
* return null (like JavaScript), dynamically create the
* property, etc.
* @param string $prop the name of the property requested
* @return mixed
*/
protected
function
_getMissingProp
(
string
$prop
)
{
$trace
=
debug_backtrace
();
trigger_error
(
'Undefined property via __get(): '
.
$prop
.
' in '
.
$trace
[
1
][
'file'
]
.
' on line '
.
$trace
[
1
][
'line'
],
E_USER_NOTICE
);
return
null
;
}
// phpcs:enable
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 02:30 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4d/95/3df06b4f272630e74cc2a01a3a43
Default Alt Text
EvalError.php (975 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment