/** * Parse the status information from the stages file. * * @param \pandaac\Exporter\Contracts\Reader $reader * @param \Illuminate\Support\Collection $collection * @return \Illuminate\Support\Collection */ protected function isEnabled(Reader $reader, Collection $collection) { return $collection->prepend((bool) $reader->attribute('enabled'), 'enabled'); }