PHP Class Neos\Flow\ResourceManagement\ResourcePointer

This class is deprecated. Please simply use the PersistentResource->getHash() method instead.
See also: PersistentResource
Deprecation:
Datei anzeigen Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$Persistence_Object_Identifier string
$hash string

Public Methods

Method Description
__construct ( string $hash ) Constructs this resource pointer
__toString ( ) : string Returns a string representation of this resource object.
getHash ( ) : string Returns the hash of this resource

Method Details

__construct() public method

Constructs this resource pointer
Deprecation:
public __construct ( string $hash )
$hash string

__toString() public method

Returns a string representation of this resource object.
Deprecation:
public __toString ( ) : string
return string The hash of this resource

getHash() public method

Returns the hash of this resource
Deprecation:
public getHash ( ) : string
return string A 40 character hexadecimal sha1 hash over the content of this resource

Property Details

$Persistence_Object_Identifier protected_oe property

protected string $Persistence_Object_Identifier
return string

$hash protected_oe property

protected string $hash
return string