Esensi\Model\Traits\RelatingModelTrait::getPivotAttributes PHP Method

getPivotAttributes() public method

Return the relationship configurations.
public getPivotAttributes ( string $name ) : array
$name string of related model
return array
    public function getPivotAttributes($name)
    {
        return $this->relationshipPivots[$name] ?: [];
    }