tasks/ext/FileSizeTask.php
fileHash
Calculate either MD5 or SHA hash value of a specified file and retun the value in a property
- Author
- Johan Persson
- Package
- phing.tasks.ext
- Version
- $Id: FileSizeTask.php 1084 2011-05-06 09:55:25Z mrook $
\FileSizeTask
Package: phing\tasks\ext
fileHash
Calculate either MD5 or SHA hash value of a specified file and retun the value in a property
- Parent(s)
- \Task < \ProjectComponent
- Author
- Johan Persson
- Version
- $Id: FileSizeTask.php 1084 2011-05-06 09:55:25Z mrook $
Properties
Methods

setFile(
\PhingFile $file
)
:
voidWhich file to calculate the file size of
Parameters
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile |

setPropertyName(
$property
)
:
voidSet the name of the property to store the file size
Parameters
| Name | Type | Description |
|---|---|---|
| $property |