masicek/PhpOptions — Issue #61: Option::isSet('foo')
Author: masicek
Created: 2012-02-15 08:22:12+00:00
State: open

Flag if option is set

Example:

```php
Option::stgring('foo')->value(FALSE)->default(TRUE)

php run.php ---> $options->get('foo') == TRUE
php run.php --foo ---> $options->get('foo') == TRUE
php run.php --foo ahoj ---> $options->get('foo') == 'ahoj'

php run.php ---> $options->isSet('foo') == FALSE
php run.php --foo ---> $options->isSet('foo') == TRUE
php run.php --foo ahoj ---> $options->IsSet('foo') == TRUE
```