1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
psalm/src/Psalm/Storage/AttributeStorage.php

44 lines
729 B
PHP
Raw Normal View History

<?php
namespace Psalm\Storage;
use Psalm\CodeLocation;
class AttributeStorage
{
/**
* @var string
*/
public $fq_class_name;
/**
* @var list<AttributeArg>
*/
public $args;
/**
* @var CodeLocation
*/
public $location;
/**
* @var CodeLocation
*/
public $name_location;
/**
* @param list<AttributeArg> $args
*/
public function __construct(
string $fq_class_name,
array $args,
CodeLocation $location,
CodeLocation $name_location
) {
$this->fq_class_name = $fq_class_name;
$this->args = $args;
$this->location = $location;
$this->name_location = $name_location;
}
}