1
0
mirror of https://github.com/retailcrm/graphql-php.git synced 2025-03-20 06:53:50 +03:00

26 lines
314 B
PHP
Raw Normal View History

2016-10-23 05:13:55 +07:00
<?php
namespace GraphQL\Examples\Blog\Data;
use GraphQL\Utils\Utils;
2016-10-23 05:13:55 +07:00
class Comment
{
public $id;
public $authorId;
public $storyId;
public $parentId;
public $body;
public $isAnonymous;
public function __construct(array $data)
{
Utils::assign($this, $data);
}
}