1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/src/Psalm/StatementsSource.php

73 lines
1.1 KiB
PHP
Raw Normal View History

<?php
2016-07-26 00:37:44 +02:00
namespace Psalm;
interface StatementsSource
{
2016-10-14 06:53:43 +02:00
/**
* @return string
*/
public function getNamespace();
2016-10-14 06:53:43 +02:00
/**
* @return array<string>
*/
public function getAliasedClasses();
2016-10-14 06:53:43 +02:00
/**
* @return string
*/
2016-11-08 01:16:51 +01:00
public function getFQCLN();
2016-11-02 07:29:00 +01:00
/**
* @return string
*/
public function getClassName();
2016-11-02 07:29:00 +01:00
/**
* @return string
*/
public function getClassLikeChecker();
/**
* @return string|null
*/
public function getParentClass();
2016-10-14 06:53:43 +02:00
/**
* @return string
*/
public function getFileName();
2016-10-14 06:53:43 +02:00
/**
2016-10-15 06:12:57 +02:00
* @return string|null
2016-10-14 06:53:43 +02:00
*/
2016-09-01 06:07:29 +02:00
public function getIncludeFileName();
2016-10-14 06:53:43 +02:00
/**
* @return string
*/
2016-09-01 06:07:29 +02:00
public function getCheckedFileName();
2016-08-25 01:00:44 +02:00
/**
* @param string|null $file_name
2016-08-25 01:00:44 +02:00
*/
public function setIncludeFileName($file_name);
2016-10-14 06:53:43 +02:00
/**
* @return bool
*/
public function isStatic();
2016-10-14 06:53:43 +02:00
/**
* @return StatementsSource|null
*/
public function getSource();
/**
* Get a list of suppressed issues
2016-11-02 07:29:00 +01:00
*
* @return array<string>
*/
public function getSuppressedIssues();
}