A lax Web news feed parser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
439 B

<?php
/** @license MIT
* Copyright 2018 J. King et al.
* See LICENSE and AUTHORS files for details */
declare(strict_types=1);
namespace JKingWeb\Lax\Person;
class Person {
public $name = "";
public $mail = "";
public $url = "";
public $role = "";
public $avatar = "";
public function __toString() {
return strlen(strlen((string) $this->mail)) ? $this->name."<".$this->mail.">" : $this->name;
}
}