TimeAgo::__construct PHP Method

__construct() public method

public __construct ( $timezone = NULL )
    public function __construct($timezone = NULL)
    {
        // if the $timezone is null, we take 'Europe/London' as the default
        // this was done, because the parent construct tossed an exception
        if ($timezone == NULL) {
            $timezone = 'Europe/London';
        }
        $this->timezone = $timezone;
    }