PHP Class Plank\Mediable\SourceAdapters\FileAdapter

Adapts the File class from Symfony Components
Author: Sean Fraser ([email protected])
Inheritance: implements Plank\Mediable\SourceAdapters\SourceAdapterInterface
Datei anzeigen Open project: plank/laravel-mediable

Protected Properties

Property Type Description
$source Symfony\Component\HttpFoundation\File\File The source object.

Public Methods

Method Description
__construct ( File $source ) Constructor.
contents ( )
extension ( )
filename ( )
getSource ( )
mimeType ( )
path ( )
size ( )
valid ( )

Method Details

__construct() public method

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

contents() public method

public contents ( )

extension() public method

public extension ( )

filename() public method

public filename ( )

getSource() public method

public getSource ( )

mimeType() public method

public mimeType ( )

path() public method

public path ( )

size() public method

public size ( )

valid() public method

public valid ( )

Property Details

$source protected_oe property

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