# types/ExcludesNameEntry.php

Class for holding nested excludes elements (file, class, method).

Author
  Benjamin Schultz
Package
  phing.types
Since
  2.4.6
Version
  $Id: ExcludesNameEntry.php 1206 2011-07-03 22:46:44Z bschultz $

## \ExcludesNameEntry
jump to top

Package: phing\types

Class for holding nested excludes elements (file, class, method).

Author
  Benjamin Schultz
Since
  2.4.6
Version
  $Id: ExcludesNameEntry.php 1206 2011-07-03 22:46:44Z bschultz $

### Properties

`string $_name= ''`

Holds the name of a file, class or method or a file pattern

Details

Type
  string

### Methods

`addText( string $pattern ) : void`

An alias for the setName() method.

Set the name of a file pattern.

Parameters

Name | Type | Description
--- | --- | ---
$pattern | string | The file pattern

Details

See
  \setName()

`getName( ) : string`

Get the name of a file, class or method or the file pattern

Returns

Type | Description
--- | ---
string | The name of a file, class or method or the file pattern

`setName( string $name ) : void`

Set the name of a file, class or method

Parameters

Name | Type | Description
--- | --- | ---
$name | string |

`toString( ) : string`

Gets a string representation of this name or pattern.

Returns

Type | Description
--- | ---
string |

Documentation was generated by DocBlox 0.15.1.