for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PPP\DataModel;
/**
* A resource node.
*
* @licence AGPLv3+
* @author Thomas Pellissier Tanon
*/
abstract class ResourceNode {
* @var string
private $value;
* @param string $value
public function __construct($value) {
$this->value = $value;
}
* @return string
public function getValue() {
return $this->value;
public abstract function getValueType();
public function getType() {
return 'resource';
* Returns if $target is equals to the current resource
* @param mixed $target
* @return boolean
public abstract function equals($target);