protected function storeTempFile($tmpFile, $filename, $container)
    {
        // Save file into backend
        $conflictResolution = $this->replaceFile
            ? AssetStore::CONFLICT_OVERWRITE
            : AssetStore::CONFLICT_RENAME;
        $config = array(
            'conflict' => $conflictResolution,
            'visibility' => $this->getDefaultVisibility()
        );
        return $container->setFromLocalFile($tmpFile['tmp_name'], $filename, null, null, $config);
    }
protected function storeTempFile($tmpFile, $filename, $container)
    {
        // Save file into backend
        $conflictResolution = $this->replaceFile
            ? AssetStore::CONFLICT_OVERWRITE
            : AssetStore::CONFLICT_RENAME;
        $config = array(
            'conflict' => $conflictResolution,
            'visibility' => $this->getDefaultVisibility()
        );
        return $container->setFromLocalFile($tmpFile['tmp_name'], $filename, null, null, $config);
    }
protected function storeTempFile ( $ tmpFile , $ filename , $ container ) { // Save file into backend $ conflictResolution = $ this -> replaceFile ? AssetStore :: CONFLICT_OVERWRITE : AssetStore :: CONFLICT_RENAME ; $ config = array ( 'conflict' => $ conflictResolution , 'visibility' => $ this -> getDefaultVisibility ( ) ) ; return $ container -> setFromLocalFile ( $ tmpFile [ 'tmp_name' ] , $ filename , null , null , $ config ) ; }
Assign this temporary file into the given destination

@param array $tmpFile
@param string $filename
@param AssetContainer|AssetStore $container
@return array
Assign this temporary file into the given destination