Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7396523
MergeVariableInfoCapability.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
MergeVariableInfoCapability.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\PluginV3
;
use
Closure
;
use
Phan\Language\Element\Variable
;
use
Phan\Language\Scope
;
/**
* MergeVariableInfoCapability is used when you want to update some data of a given variable that is seen across several branches.
* For instance, phan determines the union type of a variable based on the possible types found inside conditional branches.
*/
interface
MergeVariableInfoCapability
{
/**
* @return Closure(Variable,Scope[],bool)
* The closure will be called with a Variable object and a list of scopes that we're merging.
* Closure Type: function(Variable $variable, array $scopes, bool $var_exists_in_all_branches) : void {...}
*/
public
function
getMergeVariableInfoClosure
():
Closure
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 14:13 (1 d, 2 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9c/b7/cfeab097fae11c44fbacffa889ab
Default Alt Text
MergeVariableInfoCapability.php (772 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment