Class shardimage\shardimagephpapi\base\resources\FilePathResource

Inheritanceshardimage\shardimagephpapi\base\resources\FilePathResource » shardimage\shardimagephpapi\base\resources\StreamResource
Implementsshardimage\shardimagephpapi\base\resources\ResourceInterface

File path resource.

Property Details

$filePath protected property
protected $filePath null

Method Details

__construct() public method

public void __construct ( $filePath, $name null )
$filePath string
$name
delete() public method

public void delete ( )
fromResource() public static method

public static void fromResource ( $resource, $name null )
$resource
$name
getSize() public method

{@inheritdoc}

public void getSize ( )
getUrl() public method

{@inheritdoc}

public void getUrl ( )
isCompatible() public static method

public static void isCompatible ( $variable )
$variable