for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* xMDB-API
*
* Copyright © 2017 pudelek.org.pl
* @license MIT License (MIT)
* For the full copyright and license information, please view source file
* that is bundled with this package in the file LICENSE
* @author Marcin Pudełek <[email protected]>
*/
namespace mrcnpdlk\Xmdb\Model\Imdb;
* Class Person
* @package mrcnpdlk\Xmdb\Model\Imdb
class Person
{
* @var string
public $id;
public $name;
* @var \mrcnpdlk\Xmdb\Model\Imdb\Image
public $image;
* Person constructor.
* @param string $id
* @param string $name
* @param \mrcnpdlk\Xmdb\Model\Imdb\Image|null $oImage
public function __construct(string $id, string $name, Image $oImage = null)
$this->id = $id;
$this->name = $name;
$this->image = $oImage;
}