DocumentFileNameService
Table of Contents
Methods
-
__construct()
: mixed
-
getNameByHash()
: string
-
getNameByItem()
: string
-
getNameByUid()
: string
__construct()
public
__construct([DocumentRepository|null $documentRepository = null ]) : mixed
Parameters
-
$documentRepository
: DocumentRepository|null
= null
-
getNameByHash()
public
getNameByHash(string $hash) : string
Parameters
-
$hash
: string
-
getNameByItem()
public
getNameByItem(Document $document) : string
Parameters
-
$document
: Document
-
getNameByUid()
public
getNameByUid(string $uid) : string
Parameters
-
$uid
: string
-