# tasks/ext/phar/PharMetadataElement.php

Author
  Alexey Shockov
Package
  phing.tasks.ext.phar
Since
  2.4.0

## \PharMetadataElement
jump to top

Package: phing\tasks\ext\phar

Parent(s)
  \PharMetadata
Author
  Alexey Shockov
Since
  2.4.0

### Properties

`array $elements= 'array()'`
inherited

Inherited from: \PharMetadata::$elements
Default value `array()`Details

Type
  array
Inherited_from
  \PharMetadata::$elements

`string $name= ''`

Details

Type
  string

`string $value= ''`

Details

Type
  string

### Methods

`createElement( ) : \PharMetadataElement`
inherited

Inherited from: \PharMetadata::createElement()
Returns

Type | Description
--- | ---
\PharMetadataElement |

`getName( ) : string`

Returns

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

`getValue( ) : string|array`

Return array of

Returns

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

`setName( string $name ) : void`

Parameters

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

`setValue( string $value ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

`toArray( ) : string|array`

Returns

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

Documentation was generated by DocBlox 0.15.1.