for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Ely\Mojang\Response\Properties;
class Property {
/**
* @var string
*/
public $name;
public $value;
public function __construct(array $prop) {
$this->name = $prop['name'];
$this->value = $prop['value'];
}
public function getName(): string {
return $this->name;
public function getValue(): string {
return $this->value;