for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TomPHP\HalClient\Resource;
final class Field implements FieldNode
{
/** @var string */
private $value;
/**
* @param string $value
*/
public function __construct($value)
$this->value = $value;
}
/** @return string */
public function getValue()
return $this->value;
public function matches($criteria)
return $this->value == $criteria;