objects = new Collection; } /** * @param string $dateFormat */ public function setDateFormat(string $dateFormat) { $this->dateFormat = $dateFormat; } /** * @param Collection $objects */ public function setObjects(Collection $objects) { $this->objects = $objects; } /** * Do storage of import objects */ public function store() { /** * @var int $index * @var ImportJournal $object */ foreach ($this->objects as $index => $object) { Log::debug(sprintf('Going to store object #%d', $index)); die('Cannot actually store yet.'); } } }