tasks/system/condition/ReferenceExistsCondition.php
\ReferenceExistsCondition
Package: phing\tasks\system\condition
Parameters
Parameters
Condition that tests whether a given reference exists.
- Implements
- \Condition
- Parent(s)
- \ProjectComponent
- Author
- Matthias Pigulla
(Phing) - Version
- $Revision: 526 $
Properties

\Project
$project= 'null'
inherited
Holds a reference to the project that a project component (a task, a target, etc.) belongs to
A reference to the current project instanceInherited from: \ProjectComponent::$projectMethods

log(
$msg, integer $level
=
Project::MSG_INFO
)
:
void
@param string $msg The message to be logged.
| Name | Type | Description |
|---|---|---|
| $msg | ||
| $level | integer | The message's priority at this message should have |

setProject(
\Project $project
)
:
void
inherited
References the project to the current component.
Inherited from: \ProjectComponent::setProject()| Name | Type | Description |
|---|---|---|
| $project | \Project | The reference to the current project |