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
)
:
\the
Add 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
)
:
\an
Returns 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(
)
:
\whether
Indicates whether there are any selectors here.
Returns
Type | Description |
---|---|
\whether | any selectors are in this container |


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