graphql-php/tests/Executor/TestClasses/Dog.php

21 lines
309 B
PHP
Raw Permalink Normal View History

2018-09-01 18:07:06 +03:00
<?php
declare(strict_types=1);
namespace GraphQL\Tests\Executor\TestClasses;
class Dog
{
/** @var string */
public $name;
/** @var bool */
public $woofs;
public function __construct(string $name, bool $woofs)
{
$this->name = $name;
$this->woofs = $woofs;
}
}