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;
/**
* @see https://wiki.vg/Mojang_API#Profile_Information
*/
class MinecraftServicesProfileCape {
* @var string
private $id;
private $state;
private $url;
private $alias;
public function __construct(string $id, string $state, string $url, string $alias) {
$this->id = $id;
$this->state = $state;
$this->url = $url;
$this->alias = $alias;
}
public function getId(): string {
return $this->id;
* TODO: figure out literal for not active state
* @return 'ACTIVE'
'ACTIVE'
0
public function getState(): string {
return $this->state;
public function getUrl(): string {
return $this->url;
public function getAlias(): string {
return $this->alias;