Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5938844
ObjectShape.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
788 B
Referenced Files
None
Subscribers
None
ObjectShape.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
phpDocumentor\Reflection\PseudoTypes
;
use
phpDocumentor\Reflection\PseudoType
;
use
phpDocumentor\Reflection\Type
;
use
phpDocumentor\Reflection\Types\Object_
;
use
function
implode
;
/** @psalm-immutable */
final
class
ObjectShape
implements
PseudoType
{
/** @var ObjectShapeItem[] */
private
$items
;
public
function
__construct
(
ObjectShapeItem
...
$items
)
{
$this
->
items
=
$items
;
}
/**
* @return ObjectShapeItem[]
*/
public
function
getItems
():
array
{
return
$this
->
items
;
}
public
function
underlyingType
():
Type
{
return
new
Object_
();
}
public
function
__toString
():
string
{
return
'object{'
.
implode
(
', '
,
$this
->
items
)
.
'}'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 2 2026, 16:24 (6 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6d/90/82ac852e90a0a253a729805e6af1
Default Alt Text
ObjectShape.php (788 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment