Pipe\Asset::getTargetName PHP Method

getTargetName() public method

# Returns the file name as String.
public getTargetName ( $includeHash = true )
    function getTargetName($includeHash = true)
    {
        $target = $this->getBasename(false);
        if ($includeHash) {
            $target .= '-' . $this->getDigest();
        }
        $target .= $this->getFormatExtension();
        return $target;
    }