public getFieldFor ( $type ) : boolean | mixed | ||
$type | ||
return | boolean | mixed |
public function getFieldFor($type)
{
if (!isset($this->typemap[$type])) {
return false;
}
$class = $this->typemap[$type];
return $this->get($class, ['type' => $type]);
}