Interface shardimage\shardimagephpapi\base\resources\ResourceInterface

Implemented byshardimage\shardimagephpapi\base\resources\BinaryStringResource, shardimage\shardimagephpapi\base\resources\FilePathResource, shardimage\shardimagephpapi\base\resources\StreamResource

Base resource

Method Details

delete() public abstract method

public abstract void delete ( )
fromResource() public abstract static method

public abstract static void fromResource ( $resource, $name )
$resource
$name
getContent() public abstract method

public abstract void getContent ( )
getMimeType() public abstract method

public abstract string|null getMimeType ( )
return string|null

MIME type

getName() public abstract method

public abstract void getName ( )
getResource() public abstract method

public abstract resource|null getResource ( )
return resource|null

Resource of content

getSize() public abstract method

public abstract integer|null getSize ( )
return integer|null

Size in bytes

getUrl() public abstract method

public abstract string|null getUrl ( )
return string|null

URL of content

isCompatible() public abstract static method

public abstract static void isCompatible ( $variable )
$variable