Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430852
TypedElementInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
970 B
Referenced Files
None
Subscribers
None
TypedElementInterface.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\Language\Element
;
use
Phan\Language\FileRef
;
use
Phan\Language\UnionType
;
use
Stringable
;
/**
* Any PHP structural element that also has a type and is
* addressable such as a class, method, closure, property,
* constant, variable, ...
* @suppress PhanRedefinedInheritedInterface this uses a polyfill for Stringable
*/
interface
TypedElementInterface
extends
Stringable
{
/**
* @return string
* The (not fully-qualified) name of this element.
*/
public
function
getName
():
string
;
/**
* @return UnionType
* Get the type of this structural element
*/
public
function
getUnionType
():
UnionType
;
/**
* Set the type of this element
* @param UnionType $type
*/
public
function
setUnionType
(
UnionType
$type
):
void
;
/**
* @return FileRef
* A reference to where this element was found
*/
public
function
getFileRef
():
FileRef
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 19:41 (3 h, 58 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c7/f5/61b43d8b0b25ba73b8ba4d12955d
Default Alt Text
TypedElementInterface.php (970 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment