Bob\Task::isNeeded PHP Method

isNeeded() public method

# Returns TRUE if the task should be run, FALSE otherwise.
public isNeeded ( )
    function isNeeded()
    {
        return true;
    }

Usage Example

Beispiel #1
0
 function isNeededReturnsTrue()
 {
     $t = new Task('foo', new Application());
     $this->assertEquals(true, $t->isNeeded());
 }