API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Internal
Lexer
Node
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Classes
Collectors
Command
DependencyInjection
Diagnose
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Rules
Testing
Type
Classes
FileHelper
Interfaces
RelativePathHelper
Overview
Namespace
Interface
Tree
Interface
PHPStan
\
File
\
RelativePathHelper
PHPStan\File\RelativePathHelper
PHPStan\File\FuzzyRelativePathHelper
implements
RelativePathHelper
PHPStan\File\NullRelativePathHelper
implements
RelativePathHelper
PHPStan\File\SimpleRelativePathHelper
implements
RelativePathHelper
PHPStan\File\SystemAgnosticSimpleRelativePathHelper
implements
RelativePathHelper
PHPStan\File\ParentDirectoryRelativePathHelper
implements
RelativePathHelper
Located at
src/File/RelativePathHelper.php
Methods
public
getRelativePath
(
string
$filename
): string
#