PHP Class Plank\Mediable\SourceAdapters\LocalPathAdapter

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

Protected Properties

Свойство Type Description
$source string The source string.

Méthodes publiques

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

Method Details

__construct() public méthode

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

contents() public méthode

public contents ( )

extension() public méthode

public extension ( )

filename() public méthode

public filename ( )

getSource() public méthode

public getSource ( )

mimeType() public méthode

public mimeType ( )

path() public méthode

public path ( )

size() public méthode

public size ( )

valid() public méthode

public valid ( )

Property Details

$source protected_oe property

The source string.
protected string $source
Résultat string