Page MenuHomeWickedGov Phorge

DoctrineAnnotation.php
No OneTemporary

Size
663 B
Referenced Files
None
Subscribers
None

DoctrineAnnotation.php

<?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

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)

Event Timeline