Class shardimage\shardimagephpapi\base\resources\BinaryStringResource

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

Binary string resource

Property Details

$size protected property

Size of content

protected integer $size null

Method Details

__construct() public method

public void __construct ( $binaryString )
$binaryString string

Binary data

delete() public method

public void delete ( )
fromResource() public static method

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

{@inheritdoc}

public void getMimeType ( )
getSize() public method

{@inheritdoc}

public void getSize ( )
getUrl() public method

{@inheritdoc}

public void getUrl ( )
isCompatible() public static method

public static void isCompatible ( $variable )
$variable