2016-12-30 21:53:35 +01:00
|
|
|
<?php
|
|
|
|
namespace Psalm\Storage;
|
|
|
|
|
2020-07-02 00:10:24 +02:00
|
|
|
use Psalm\Type;
|
|
|
|
|
2016-12-30 21:53:35 +01:00
|
|
|
class MethodStorage extends FunctionLikeStorage
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
2019-11-25 21:20:31 +01:00
|
|
|
public $is_static = false;
|
2016-12-30 21:53:35 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var int
|
|
|
|
*/
|
2019-11-25 21:20:31 +01:00
|
|
|
public $visibility = 0;
|
2017-11-30 05:46:56 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
2019-11-25 21:20:31 +01:00
|
|
|
public $final = false;
|
2017-12-30 14:47:00 +01:00
|
|
|
|
2020-12-02 21:13:28 +01:00
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $final_from_docblock = false;
|
|
|
|
|
2018-03-13 17:52:00 +01:00
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
2019-11-25 21:20:31 +01:00
|
|
|
public $abstract = false;
|
2018-03-13 17:52:00 +01:00
|
|
|
|
2018-03-23 21:34:45 +01:00
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $overridden_downstream = false;
|
2018-07-12 22:57:24 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $overridden_somewhere = false;
|
2018-12-21 17:01:24 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $inheritdoc = false;
|
2019-01-28 05:12:40 +01:00
|
|
|
|
2019-06-08 15:44:22 +02:00
|
|
|
/**
|
2020-11-12 19:54:27 +01:00
|
|
|
* @var ?bool
|
2019-06-08 15:44:22 +02:00
|
|
|
*/
|
|
|
|
public $inherited_return_type = false;
|
|
|
|
|
2019-01-28 05:12:40 +01:00
|
|
|
/**
|
2019-11-25 21:20:31 +01:00
|
|
|
* @var ?string
|
2019-01-28 05:12:40 +01:00
|
|
|
*/
|
|
|
|
public $defining_fqcln;
|
2019-03-25 16:25:43 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $has_docblock_param_types = false;
|
2019-08-30 18:36:35 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $external_mutation_free = false;
|
2019-09-08 00:34:18 +02:00
|
|
|
|
2019-09-08 16:36:57 +02:00
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $mutation_free_inferred = false;
|
|
|
|
|
2019-09-08 00:34:18 +02:00
|
|
|
/**
|
|
|
|
* @var ?array<string, bool>
|
|
|
|
*/
|
|
|
|
public $this_property_mutations = null;
|
2020-04-12 14:40:24 +02:00
|
|
|
|
2020-07-02 00:10:24 +02:00
|
|
|
/**
|
|
|
|
* @var Type\Union|null
|
|
|
|
*/
|
|
|
|
public $self_out_type = null;
|
2020-10-30 22:37:16 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $stubbed = false;
|
2016-12-30 21:53:35 +01:00
|
|
|
}
|