2016-12-30 18:41:14 +01:00
|
|
|
<?php
|
|
|
|
namespace Psalm\Storage;
|
|
|
|
|
|
|
|
class FileStorage
|
|
|
|
{
|
|
|
|
/**
|
2018-02-12 04:49:19 +01:00
|
|
|
* @var array<string, string>
|
2016-12-30 18:41:14 +01:00
|
|
|
*/
|
2016-12-31 00:08:07 +01:00
|
|
|
public $classes_in_file = [];
|
|
|
|
|
2017-07-25 22:11:02 +02:00
|
|
|
/** @var string */
|
|
|
|
public $file_path;
|
|
|
|
|
2016-12-31 00:08:07 +01:00
|
|
|
/**
|
2017-07-28 16:42:30 +02:00
|
|
|
* @var array<string, FunctionLikeStorage>
|
2016-12-31 00:08:07 +01:00
|
|
|
*/
|
|
|
|
public $functions = [];
|
2017-07-25 22:11:02 +02:00
|
|
|
|
|
|
|
/** @var array<string, string> */
|
|
|
|
public $declaring_function_ids = [];
|
|
|
|
|
2017-07-28 16:42:30 +02:00
|
|
|
/**
|
|
|
|
* @var array<string, \Psalm\Type\Union>
|
|
|
|
*/
|
|
|
|
public $constants = [];
|
|
|
|
|
|
|
|
/** @var array<string, string> */
|
|
|
|
public $declaring_constants = [];
|
|
|
|
|
2017-07-25 22:11:02 +02:00
|
|
|
/** @var array<string, string> */
|
|
|
|
public $included_file_paths = [];
|
|
|
|
|
|
|
|
/** @var bool */
|
|
|
|
public $populated = false;
|
2016-12-30 18:41:14 +01:00
|
|
|
}
|