/**
* Create new attribute or get name of current attribute
*
* @param null|string $attribute
*
* @return EntityAttributeBuilder|string
*/
public function attr($attribute = null)
{
if ($this->isNull($attribute)) {
return $this->attribute;
}
return $this->parent->attr($attribute);
}