2016-01-19 18:27:06 -05:00
|
|
|
<?php
|
|
|
|
|
2016-07-25 18:37:44 -04:00
|
|
|
namespace Psalm;
|
2016-01-19 18:27:06 -05:00
|
|
|
|
|
|
|
interface StatementsSource
|
|
|
|
{
|
|
|
|
public function getNamespace();
|
|
|
|
|
|
|
|
public function getAliasedClasses();
|
|
|
|
|
|
|
|
public function getAbsoluteClass();
|
|
|
|
|
|
|
|
public function getClassName();
|
|
|
|
|
2016-08-13 14:20:46 -04:00
|
|
|
public function getClassLikeChecker();
|
2016-01-29 18:48:09 -05:00
|
|
|
|
2016-01-19 18:27:06 -05:00
|
|
|
/**
|
|
|
|
* @return \PhpParser\Node\Name
|
|
|
|
*/
|
2016-04-17 11:22:18 -04:00
|
|
|
public function getParentClass();
|
2016-01-19 18:27:06 -05:00
|
|
|
|
|
|
|
public function getFileName();
|
|
|
|
|
2016-09-01 00:07:29 -04:00
|
|
|
public function getIncludeFileName();
|
|
|
|
|
|
|
|
public function getCheckedFileName();
|
|
|
|
|
2016-08-24 19:00:44 -04:00
|
|
|
/**
|
|
|
|
* @param string $file_name
|
|
|
|
*/
|
|
|
|
public function setIncludeFileName($file_name);
|
|
|
|
|
2016-01-19 18:27:06 -05:00
|
|
|
public function isStatic();
|
2016-05-15 23:06:03 -04:00
|
|
|
|
|
|
|
public function getSource();
|
2016-07-22 13:29:46 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get a list of suppressed issues
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function getSuppressedIssues();
|
2016-01-19 18:27:06 -05:00
|
|
|
}
|