An abstract representation of file and directory pathnames.

package | phing.util
author | Michiel Rook
version | $Id$

### Methods

## Constructs a new data store

    __construct(\PhingFile $file)

### Parameters

#### $file

`\PhingFile`

object pointing to the data store on disk

## Destructor

    __destruct()

## Commits data store to disk

    commit() : \none

### Returns

`\none`

## Retrieves a value from the data store

    get(string $key) : mixed

### Parameters

#### $key

`string`

the key

### Returns

`mixed`the value

## Adds a value to the data store

    put(string $key, mixed $value, boolean $autocommit) : \none

### Parameters

#### $key

`string`

the key

#### $value

`mixed`

the value

#### $autocommit

`boolean`

whether to auto-commit (write) the data store to disk

### Returns

`\none`

## Internal function to read data store from file

    read() : \none

### Returns

`\none`

## Internal function to write data store to file

    write() : \none

### Returns

`\none`

### Properties

##

    $data

##

    $file