Domovoy API

Psr4FilePersister
in package

FinalYes

PSR-4 compliant {@PhpFile} persister.

Table of Contents

Properties

$namespacePathResolver  : NamespacePsr4PathResolver

Methods

__construct()  : mixed
persist()  : array{class-string, non-empty-string}
resolveFilePath()  : array{class-string, non-empty-string}|null

Properties

Methods

persist()

public persist(PhpFile $phpFile) : array{class-string, non-empty-string}
Parameters
$phpFile : PhpFile
Return values
array{class-string, non-empty-string}

resolveFilePath()

private resolveFilePath(PhpNamespace $namespace) : array{class-string, non-empty-string}|null
Parameters
$namespace : PhpNamespace
Return values
array{class-string, non-empty-string}|null

        
On this page

Search results