PHP 클래스 Plank\Mediable\SourceAdapters\FileAdapter

Adapts the File class from Symfony Components
저자: Sean Fraser ([email protected])
상속: implements Plank\Mediable\SourceAdapters\SourceAdapterInterface
파일 보기 프로젝트 열기: plank/laravel-mediable

보호된 프로퍼티들

프로퍼티 타입 설명
$source Symfony\Component\HttpFoundation\File\File The source object.

공개 메소드들

메소드 설명
__construct ( File $source ) Constructor.
contents ( )
extension ( )
filename ( )
getSource ( )
mimeType ( )
path ( )
size ( )
valid ( )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( File $source )
$source Symfony\Component\HttpFoundation\File\File

contents() 공개 메소드

public contents ( )

extension() 공개 메소드

public extension ( )

filename() 공개 메소드

public filename ( )

getSource() 공개 메소드

public getSource ( )

mimeType() 공개 메소드

public mimeType ( )

path() 공개 메소드

public path ( )

size() 공개 메소드

public size ( )

valid() 공개 메소드

public valid ( )

프로퍼티 상세

$source 보호되어 있는 프로퍼티

The source object.
protected File,Symfony\Component\HttpFoundation\File $source
리턴 Symfony\Component\HttpFoundation\File\File