XML 78 R62.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Restructuring Plans (Details) $ in Thousands |  |  | 12 Months Ended | 36 Months Ended |
--- | --- | --- | --- | --- | ---
Feb. 21, 2017 USD ($) | Feb. 05, 2015 | Jun. 30, 2018 USD ($) | Jun. 30, 2018 USD ($) | Jun. 30, 2015 USD ($)
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs |  |  | $ 31,000 |  |
Restructuring charges |  |  |  | $ 35,555 |
Restructuring charges settled without cash |  |  |  | 3,731 |
Restructuring charges incurred to date |  |  | 31,800 | 31,800 |
Restructuring depreciation expense |  |  | 2,300 |  |
Restructuring non-cash rent expense |  |  |  | 31,824 |
Restructuring reserve |  |  | 0 | 0 | $ 0
Corporate Relocation Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring, number of positions affected |  | 350 |  |  |
DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges incurred to date |  |  | 3,100 | 3,100 |
Restructuring non-cash rent expense |  |  | 2,800 |  |
Employee-related |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs |  |  | 18,000 |  |
Restructuring charges |  |  | 1,109 | 17,352 |
Restructuring charges settled without cash |  |  |  | 0 |
Restructuring non-cash rent expense |  |  |  | 17,352 |
Restructuring reserve |  |  | 0 | 0 | 0
Employee-related | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  |  | 200 |  |
Restructuring non-cash rent expense |  |  | 1,300 |  |
Restructuring and Related Cost, Expected Cost Remaining |  |  | 300 | 300 |
Facility Closing |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs |  |  | 5,000 |  |
Restructuring charges |  |  | 6,187 | 10,779 |
Restructuring charges settled without cash |  |  | 2,475 | 3,731 |
Restructuring non-cash rent expense |  |  |  | 7,048 |
Restructuring reserve |  |  | 0 | 0 | 0
Other Restructuring |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs |  |  | 8,000 |  |
Restructuring charges |  |  |  | 7,424 |
Restructuring charges settled without cash |  |  |  | 0 |
Restructuring depreciation expense |  |  | 1,100 |  |
Restructuring non-cash rent expense |  |  |  | 7,424 |
Restructuring reserve |  |  | 0 | $ 0 | $ 0
Sale-leaseback transaction, rent expense, noncash |  |  | 1,400 |  |
Other Restructuring | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  |  | 500 |  |
Restructuring non-cash rent expense |  |  | $ 1,800 |  |
Minimum | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs | $ 3,700 |  |  |  |
Minimum | Employee-related | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs | 1,900 |  |  |  |
Minimum | Other Restructuring | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs | 1,800 |  |  |  |
Maximum | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs | 4,900 |  |  |  |
Maximum | Employee-related | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs | 2,700 |  |  |  |
Maximum | Other Restructuring | DSD Restructuring Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Expected restructuring costs | $ 2,200 |  |  |  |

X
- Definition Restructuring and Related Cost, Expected + References No definition available. + Details
Name: | farm_RestructuringandRelatedCostExpected
Namespace Prefix: | farm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Restructuring and Related Cost, Number of Positions Affected + References No definition available. + Details
Name: | farm_RestructuringandRelatedCostNumberofPositionsAffected
Namespace Prefix: | farm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3536-108585 + Details
Name: | us-gaap_PaymentsForRestructuring
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of costs incurred to date for the specified restructuring cost. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringAndRelatedCostCostIncurredToDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of expected cost remaining for the specified restructuring cost. + References No definition available. + Details
Name: | us-gaap_RestructuringAndRelatedCostExpectedCostRemaining1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140864-122747 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 + Details
Name: | us-gaap_RestructuringReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accelerated depreciation charged against earnings associated with exit from or disposal of business activities or restructuring plan. + References No definition available. + Details
Name: | us-gaap_RestructuringReserveAcceleratedDepreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of decrease in the reserve for full or partial settlement through consideration other than cash. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)(2)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 + Details
Name: | us-gaap_RestructuringReserveSettledWithoutCash2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of the current period expense recorded for use of the property in connection with the transaction involving the sale of property to another party and the lease of the property back to the seller. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41499-112717 + Details
Name: | us-gaap_SaleLeasebackTransactionRentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringPlanAxis=farm_CorporateRelocationPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=farm_DSDRestructuringPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=farm_EmployeerelatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_FacilityClosingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_OtherRestructuringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |