JamesMoss\Flywheel\Repository::getFilename PHP Method

getFilename() public method

Gets just the filename for a document based on it's ID.
public getFilename ( string $id ) : string
$id string The ID of the document.
return string The filename of the document, including extension.
    public function getFilename($id)
    {
        return $id . '.' . $this->formatter->getFileExtension();
    }