public attr ( $attribute ) : |
||
$attribute | ||
return |
public function attr($attribute)
{
return $this->attributeBuilder->attr($attribute);
}
/** * 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); }