classes/phing/types/selectors/FileSelector.php
This is the interface to be used by all selectors.
- author
- Hans Lellelid, hans@xmpl.org (Phing)
- author
- Bruce Atherton, bruce@callenish.com (Ant)
- package
- phing.types.selectors
\FileSelector
This is the interface to be used by all selectors.
- author
- Hans Lellelid, hans@xmpl.org (Phing)
- author
- Bruce Atherton, bruce@callenish.com (Ant)
- package
- phing.types.selectors
Methods

isSelected(
\basedir $basedir, \filename $filename, \file $file
)
:
\whetherMethod that each selector will implement to create their
selection behaviour. If there is a problem with the setup
of a selector, it can throw a BuildException to indicate
the problem.
| Name | Type | Description |
|---|---|---|
| $basedir | \basedir | A PhingFile object for the base directory |
| $filename | \filename | The name of the file to check |
| $file | \file | A PhingFile object for this filename |
| Type | Description |
|---|---|
| \whether |
- throws
- if the selector was not configured correctly