2017-01-02 01:09:17 +01:00
|
|
|
<?php
|
|
|
|
namespace Psalm\Storage;
|
|
|
|
|
2017-01-27 07:40:22 +01:00
|
|
|
use Psalm\CodeLocation;
|
2017-01-02 01:09:17 +01:00
|
|
|
use Psalm\Type;
|
2018-10-17 21:52:26 +02:00
|
|
|
use Psalm\Checker\ClassLikeChecker;
|
2017-01-02 01:09:17 +01:00
|
|
|
|
|
|
|
class PropertyStorage
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $is_static;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var int
|
|
|
|
*/
|
|
|
|
public $visibility;
|
|
|
|
|
2017-01-27 07:40:22 +01:00
|
|
|
/**
|
|
|
|
* @var CodeLocation|null
|
|
|
|
*/
|
|
|
|
public $location;
|
|
|
|
|
2017-03-02 04:27:52 +01:00
|
|
|
/**
|
|
|
|
* @var CodeLocation|null
|
|
|
|
*/
|
|
|
|
public $type_location;
|
|
|
|
|
2017-01-02 01:09:17 +01:00
|
|
|
/**
|
|
|
|
* @var Type\Union|false
|
|
|
|
*/
|
|
|
|
public $type;
|
2017-01-27 07:23:12 +01:00
|
|
|
|
2017-04-15 05:09:34 +02:00
|
|
|
/**
|
|
|
|
* @var Type\Union|null
|
|
|
|
*/
|
|
|
|
public $suggested_type;
|
|
|
|
|
2017-01-27 07:23:12 +01:00
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $has_default = false;
|
2017-05-25 07:32:34 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $deprecated = false;
|
2018-01-11 05:29:18 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array<string, array<int, CodeLocation>>|null
|
|
|
|
*/
|
|
|
|
public $referencing_locations;
|
2017-01-02 01:09:17 +01:00
|
|
|
}
|