Class shardimage\shardimagephpapi\base\resources\StreamResource

Inheritanceshardimage\shardimagephpapi\base\resources\StreamResource
Implementsshardimage\shardimagephpapi\base\resources\ResourceInterface
Subclassesshardimage\shardimagephpapi\base\resources\BinaryStringResource, shardimage\shardimagephpapi\base\resources\FilePathResource

Stream resource.

Property Details

$name protected property
protected $name null
$resource protected property
protected resource $resource null

Method Details

__construct() public method

public void __construct ( $resource, $name null )
$resource
$name
delete() public method

public void delete ( )
fromResource() public static method

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

public void getContent ( )
getMimeType() public method

{@inheritdoc}

public void getMimeType ( )
getName() public method

public void getName ( )
getResource() public method

{@inheritdoc}

public void getResource ( )
getSize() public method

{@inheritdoc}

public void getSize ( )
getUrl() public method

{@inheritdoc}

public void getUrl ( )
isCompatible() public static method

public static void isCompatible ( $variable )
$variable