PHP Class Puli\Repository\Api\Resource\ResourceMetadata

Since: 1.0
Author: Bernhard Schussek ([email protected])
Mostrar archivo Open project: puli/repository

Public Methods

Method Description
getAccessTime ( ) : integer Returns when the resource was last accessed.
getCreationTime ( ) : integer Returns when the resource was created.
getModificationTime ( ) : integer Returns when the resource was last modified.
getSize ( ) : integer Returns the size of the body in bytes.

Method Details

getAccessTime() public method

If this information is not available, the method returns 0.
public getAccessTime ( ) : integer
return integer A UNIX timestamp.

getCreationTime() public method

If this information is not available, the method returns 0.
public getCreationTime ( ) : integer
return integer A UNIX timestamp.

getModificationTime() public method

If this information is not available, the method returns 0.
public getModificationTime ( ) : integer
return integer A UNIX timestamp.

getSize() public method

If this information is not available, the method returns 0.
public getSize ( ) : integer
return integer The body size in bytes.