src/Colorium/Orm/Mapper.php
public function entity($entity)
    {
        if(isset($this->classmap[$entity])) {
            $entity = $this->classmap[$entity];
        }
        elseif(!isset($this->entities[$entity])) {
            $this->entities[$entity] = new Mapper\Entity($entity);
        }

        return $this->entities[$entity];
    }
public function entity($entity)
    {
        if(isset($this->classmap[$entity])) {
            $entity = $this->classmap[$entity];
        }
        elseif(!isset($this->entities[$entity])) {
            $this->entities[$entity] = new Mapper\Entity($entity);
        }

        return $this->entities[$entity];
    }
Get entity definition (from name of class)

@param string $entity
@return Mapper\Entity