Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7461949
DoctrineAnnotation.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
663 B
Referenced Files
None
Subscribers
None
DoctrineAnnotation.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PHPStan\PhpDocParser\Ast\PhpDoc\Doctrine
;
use
PHPStan\PhpDocParser\Ast\Node
;
use
PHPStan\PhpDocParser\Ast\NodeAttributes
;
use
function
implode
;
class
DoctrineAnnotation
implements
Node
{
use
NodeAttributes
;
public
string
$name
;
/** @var list<DoctrineArgument> */
public
array
$arguments
;
/**
* @param list<DoctrineArgument> $arguments
*/
public
function
__construct
(
string
$name
,
array
$arguments
)
{
$this
->
name
=
$name
;
$this
->
arguments
=
$arguments
;
}
public
function
__toString
():
string
{
$arguments
=
implode
(
', '
,
$this
->
arguments
);
return
$this
->
name
.
'('
.
$arguments
.
')'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 03:21 (2 d, 23 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6b/be/20c5d0ec46074afee24758bc166c
Default Alt Text
DoctrineAnnotation.php (663 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment