public function getFormzGeneratedFilePath($prefix = '')
    {
        $formObject = $this->assetHandlerFactory->getFormObject();
        $formIdentifier = CacheService::get()->getFormCacheIdentifier($formObject->getClassName(), $formObject->getName());
        $prefix = (false === empty($prefix))
            ? $prefix . '-'
            : '';

        $identifier = substr(
            'fz-' . $prefix . $formIdentifier,
            0,
            22
        );
        $identifier .= '-' . md5($formObject->getHash() . $formObject->getName());

        return CacheService::GENERATED_FILES_PATH . $identifier;
    }
public function getFormzGeneratedFilePath($prefix = '')
    {
        $formObject = $this->assetHandlerFactory->getFormObject();
        $formIdentifier = CacheService::get()->getFormCacheIdentifier($formObject->getClassName(), $formObject->getName());
        $prefix = (false === empty($prefix))
            ? $prefix . '-'
            : '';

        $identifier = substr(
            'fz-' . $prefix . $formIdentifier,
            0,
            22
        );
        $identifier .= '-' . md5($formObject->getHash() . $formObject->getName());

        return CacheService::GENERATED_FILES_PATH . $identifier;
    }
public function getFormzGeneratedFilePath ( $ prefix = '' ) { $ formObject = $ this -> assetHandlerFactory -> getFormObject ( ) ; $ formIdentifier = CacheService :: get ( ) -> getFormCacheIdentifier ( $ formObject -> getClassName ( ) , $ formObject -> getName ( ) ) ; $ prefix = ( false === empty ( $ prefix ) ) ? $ prefix . '-' : '' ; $ identifier = substr ( 'fz-' . $ prefix . $ formIdentifier , 0 , 22 ) ; $ identifier .= '-' . md5 ( $ formObject -> getHash ( ) . $ formObject -> getName ( ) ) ; return CacheService :: GENERATED_FILES_PATH . $ identifier ; }
Returns a file name based on the form object class name.

@param string $prefix
@return string
Returns a file name based on the form object class name .