2018-01-21 18:44:46 +01:00
|
|
|
<?php
|
2021-12-15 04:58:32 +01:00
|
|
|
|
2018-01-21 18:44:46 +01:00
|
|
|
namespace Psalm;
|
|
|
|
|
|
|
|
interface FileSource
|
|
|
|
{
|
2022-11-04 19:04:23 +01:00
|
|
|
/**
|
|
|
|
* @psalm-mutation-free
|
|
|
|
*/
|
2020-09-04 22:26:33 +02:00
|
|
|
public function getFileName(): string;
|
2018-01-21 18:44:46 +01:00
|
|
|
|
2022-11-04 19:04:23 +01:00
|
|
|
/**
|
|
|
|
* @psalm-mutation-free
|
|
|
|
*/
|
2020-09-04 22:26:33 +02:00
|
|
|
public function getFilePath(): string;
|
2018-01-21 18:44:46 +01:00
|
|
|
|
2022-11-04 19:04:23 +01:00
|
|
|
/**
|
|
|
|
* @psalm-mutation-free
|
|
|
|
*/
|
2020-09-12 17:24:05 +02:00
|
|
|
public function getRootFileName(): string;
|
2018-01-21 18:44:46 +01:00
|
|
|
|
2022-11-04 19:04:23 +01:00
|
|
|
/**
|
|
|
|
* @psalm-mutation-free
|
|
|
|
*/
|
2020-09-12 17:24:05 +02:00
|
|
|
public function getRootFilePath(): string;
|
2018-02-23 21:39:33 +01:00
|
|
|
|
2022-11-04 19:04:23 +01:00
|
|
|
/**
|
|
|
|
* @psalm-mutation-free
|
|
|
|
*/
|
2020-09-04 22:26:33 +02:00
|
|
|
public function getAliases(): Aliases;
|
2018-01-21 18:44:46 +01:00
|
|
|
}
|