# tasks/system/condition/IsTrueCondition.php

## \IsTrueCondition
jump to top

Package: phing\tasks\system\condition

Condition that tests whether a given string evals to true.

Implements
  \Condition
Parent(s)
  \ProjectComponent
Author
  Hans Lellelid (Phing)
Author
  Steve Loughran (Ant)

### Properties

`$value= ''`

what we eval

Details

Type
  n/a

### Methods

`evaluate( ) : boolean`

return the inverted value;

Returns

Type | Description
--- | ---
boolean |

Throws

Exception | Description
--- | ---
\BuildException | if someone forgot to spec a value

`getProject( ) : void`

`log( ) : void`

`setProject( ) : void`

`setValue( boolean $value ) : void`

Set the value to be tested.

Parameters

Name | Type | Description
--- | --- | ---
$value | boolean |

Documentation was generated by DocBlox 0.17.1.