Vendor
This commit is contained in:
1 parent
e74df463f2
commit
499abe195e
284 files changed
+55166
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace GraphQL\Examples\Blog\Data;
|
||||
|
||||
use GraphQL\Utils\Utils;
|
||||
|
||||
class User
|
||||
{
|
||||
public $id;
|
||||
|
||||
public $email;
|
||||
|
||||
public $firstName;
|
||||
|
||||
public $lastName;
|
||||
|
||||
public $hasPhoto;
|
||||
|
||||
public function __construct(array $data)
|
||||
{
|
||||
Utils::assign($this, $data);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user