Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7407936
GenericArrayInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
819 B
Referenced Files
None
Subscribers
None
GenericArrayInterface.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\Language\Type
;
use
Phan\Language\UnionType
;
/**
* This is generated from phpdoc such as array<string,mixed>, array{field:int}, etc.
* @phan-pure
*/
interface
GenericArrayInterface
{
/** Returns the union type of this generic array type's elements. */
public
function
genericArrayElementUnionType
():
UnionType
;
/**
* Returns the key type of this generic or shaped array.
* e.g. for `int[]`, returns self::KEY_MIXED, for `array<string,mixed>`, returns self::KEY_STRING.
*/
public
function
getKeyType
():
int
;
/**
* True for classes such as non-empty-array and non-empty-list.
*/
public
function
isDefinitelyNonEmptyArray
():
bool
;
/**
* Is this type nullable
*/
public
function
isNullable
():
bool
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 21:14 (1 d, 12 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
46/88/5dffedb9d0caa719ee892871eb1c
Default Alt Text
GenericArrayInterface.php (819 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment