mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 17:27:28 +01:00
42 lines
817 B
PHP
42 lines
817 B
PHP
|
<?php
|
||
|
namespace Psalm;
|
||
|
|
||
|
class Aliases
|
||
|
{
|
||
|
/**
|
||
|
* @var array<string, string>
|
||
|
*/
|
||
|
public $uses;
|
||
|
|
||
|
/**
|
||
|
* @var array<string, string>
|
||
|
*/
|
||
|
public $functions;
|
||
|
|
||
|
/**
|
||
|
* @var array<string, string>
|
||
|
*/
|
||
|
public $constants;
|
||
|
|
||
|
/** @var string|null */
|
||
|
public $namespace;
|
||
|
|
||
|
/**
|
||
|
* @param string|null $namespace
|
||
|
* @param array<string, string> $uses
|
||
|
* @param array<string, string> $functions
|
||
|
* @param array<string, string> $constants
|
||
|
*/
|
||
|
public function __construct(
|
||
|
$namespace = null,
|
||
|
array $uses = [],
|
||
|
array $functions = [],
|
||
|
array $constants = []
|
||
|
) {
|
||
|
$this->namespace = $namespace;
|
||
|
$this->uses = $uses;
|
||
|
$this->functions = $functions;
|
||
|
$this->constants = $constants;
|
||
|
}
|
||
|
}
|