for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Analogue\ORM;
class ValueMap
{
/**
* @var string
*/
protected $name;
protected $class;
* @var array
protected $embeddables = [];
protected $attributes = [];
* @return array
public function getAttributes()
return $this->attributes;
}
public function getEmbeddables()
return $this->embeddables;
* @param $class
public function setClass($class)
$this->class = $class;
* @return mixed
public function getClass()
return $this->class;
* @return string
public function getName()
if (isset($this->name)) {
return $this->name;
} else {
return class_basename($this);