You are here

private function BirthdaysBirthday::__construct in Birthdays 7

Private constructur. Use on of the create methods instead.

File

./birthdays_birthday.inc, line 22
The BirthdaysBirthday class.

Class

BirthdaysBirthday
Converts between different data representations and do calculations on a birthday.

Code

private function __construct($value = array(
  'year' => 0,
  'month' => 0,
  'day' => 0,
)) {
  $this->value = $value;
}