2016-12-30 21:53:35 +01:00
|
|
|
<?php
|
|
|
|
namespace Psalm\Storage;
|
|
|
|
|
2017-12-30 14:47:00 +01:00
|
|
|
use Psalm\CodeLocation;
|
|
|
|
|
2016-12-30 21:53:35 +01:00
|
|
|
class MethodStorage extends FunctionLikeStorage
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $is_static;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var int
|
|
|
|
*/
|
|
|
|
public $visibility;
|
2017-11-30 05:46:56 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $final;
|
2017-12-30 14:47:00 +01:00
|
|
|
|
2018-03-13 17:52:00 +01:00
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $abstract;
|
|
|
|
|
2017-12-30 14:47:00 +01:00
|
|
|
/**
|
|
|
|
* @var array<int, CodeLocation>
|
|
|
|
*/
|
|
|
|
public $unused_params = [];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array<int, bool>
|
|
|
|
*/
|
|
|
|
public $used_params = [];
|
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
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $defining_fqcln;
|
2016-12-30 21:53:35 +01:00
|
|
|
}
|