PHP Class ApiGen\Generator\Resolvers\RelativePathResolver

Mostrar archivo Open project: apigen/apigen Class Usage Examples

Public Methods

Method Description
__construct ( Configuration $configuration, FileSystem $fileSystem )
getRelativePath ( string $fileName ) : string

Private Methods

Method Description
getFileNameWithoutSourcePath ( string $fileName, string $directory ) : string

Method Details

__construct() public method

public __construct ( Configuration $configuration, FileSystem $fileSystem )
$configuration ApiGen\Configuration\Configuration
$fileSystem ApiGen\Utils\FileSystem

getRelativePath() public method

public getRelativePath ( string $fileName ) : string
$fileName string
return string