mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 01:37:23 +01:00
92 lines
1.5 KiB
PHP
92 lines
1.5 KiB
PHP
<?php
|
|
namespace Psalm;
|
|
|
|
interface StatementsSource
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getNamespace();
|
|
|
|
/**
|
|
* @return array<string>
|
|
*/
|
|
public function getAliasedClasses();
|
|
|
|
/**
|
|
* @return array<string>
|
|
*/
|
|
public function getAliasedClassesFlipped();
|
|
|
|
/**
|
|
* Gets a list of all aliased constants
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getAliasedConstants();
|
|
|
|
/**
|
|
* Gets a list of all aliased functions
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getAliasedFunctions();
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getFQCLN();
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getClassName();
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getClassLikeChecker();
|
|
|
|
/**
|
|
* @return string|null
|
|
*/
|
|
public function getParentClass();
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getFileName();
|
|
|
|
/**
|
|
* @return string|null
|
|
*/
|
|
public function getIncludeFileName();
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getCheckedFileName();
|
|
|
|
/**
|
|
* @param string|null $file_name
|
|
*/
|
|
public function setIncludeFileName($file_name);
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function isStatic();
|
|
|
|
/**
|
|
* @return StatementsSource|null
|
|
*/
|
|
public function getSource();
|
|
|
|
/**
|
|
* Get a list of suppressed issues
|
|
*
|
|
* @return array<string>
|
|
*/
|
|
public function getSuppressedIssues();
|
|
}
|