PHP Class Plank\Mediable\SourceAdapters\LocalPathAdapter

Adapts a string representing an absolute path
Author: Sean Fraser ([email protected])
Inheritance: implements Plank\Mediable\SourceAdapters\SourceAdapterInterface
Mostra file Open project: plank/laravel-mediable

Protected Properties

Property Type Description
$source string The source string.

Public Methods

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

Method Details

__construct() public method

Constructor.
public __construct ( string $source )
$source string

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 string.
protected string $source
return string