types/selectors/SelectorContainer.php
This is the interface for selectors that can contain other selectors.
- Author
- Bruce Atherton
- Package
- phing.types.selectors
\SelectorContainer
Package: phing\types\selectors
This is the interface for selectors that can contain other selectors.
- Children
- \MatchingTask
- \AbstractFileSet
- \BaseSelectorContainer
- Author
- Bruce Atherton
Methods

appendSelector(
\selector $selector
)
:
\theAdd a new selector into this container.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $selector | \selector | the new selector to add |
| Type | Description |
|---|---|
| \the | selector that was added |

getSelectors(
$p
)
:
\anReturns a *copy* of the set of selectors as an array.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $p |
| Type | Description |
|---|---|
| \an | array of selectors in this container |

hasSelectors(
)
:
\whetherIndicates whether there are any selectors here.
Returns
| Type | Description |
|---|---|
| \whether | any selectors are in this container |

selectorCount(
)
:
\theGives the count of the number of selectors in this container
Returns
| Type | Description |
|---|---|
| \the | number of selectors in this container |