PHP Class Xpressengine\Storage\TempFileCreator

Author: XE Team (developers) ([email protected])
ファイルを表示 Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$prefix string Prefix name for created file name

Public Methods

Method Description
__construct ( string $prefix = 'storage' ) Constructor
create ( string $content ) : TempFile 임시파일 생성
getTempPathname ( ) : string 임시 경로 이름 반환

Method Details

__construct() public method

Constructor
public __construct ( string $prefix = 'storage' )
$prefix string prefix name

create() public method

임시파일 생성
public create ( string $content ) : TempFile
$content string file content
return TempFile

getTempPathname() public method

임시 경로 이름 반환
public getTempPathname ( ) : string
return string

Property Details

$prefix protected_oe property

Prefix name for created file name
protected string $prefix
return string