PHP Class Jyxo\Mail\Email\Header

Author: Jaroslav HanslĂ­k
Inheritance: extends Jyxo\Spl\Object
Datei anzeigen Open project: jyxo/php

Public Methods

Method Description
__construct ( string $name, string $value ) Creates a header.
getName ( ) : string Returns header name.
getValue ( ) : string Returns value.
setName ( string $name ) : self Sets header name.
setValue ( string $value ) : self Sets value.

Method Details

__construct() public method

Creates a header.
public __construct ( string $name, string $value )
$name string Header name
$value string Value

getName() public method

Returns header name.
public getName ( ) : string
return string

getValue() public method

Returns value.
public getValue ( ) : string
return string

setName() public method

Sets header name.
public setName ( string $name ) : self
$name string Name
return self

setValue() public method

Sets value.
public setValue ( string $value ) : self
$value string Value
return self