src/Label305/AujaLaravel/Factory/FormItemFactory.php
public function getFormItem(Model $model, Column $column, $item) {
        $result = null;

        if (ends_with($column->getName(), '_id')) {
            $result = $this->createSelectAssociationFormItem($model, $column, $item);
        } else {
            $result = $this->createFromType($model, $column, $item);
        }

        return $result;
    }
public function getFormItem(Model $model, Column $column, $item) {
        $result = null;

        if (ends_with($column->getName(), '_id')) {
            $result = $this->createSelectAssociationFormItem($model, $column, $item);
        } else {
            $result = $this->createFromType($model, $column, $item);
        }

        return $result;
    }
@param Model     $model  The `Model` which contains given `Column`.
@param Column    $column The `Column` to create a `FormItem` for.
@param \Eloquent $item   The instance to retrieve information from for filling the `FormItem`.

@return FormItem The created `FormItem`.