/** * {@inheritdoc} */ public function getUpdated() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getUpdated'); if (!$pluginInfo) { return parent::getUpdated(); } else { return $this->___callPlugins('getUpdated', func_get_args(), $pluginInfo); } }
public function testBeforeSave() { $this->assertEquals(null, $this->model->getUpdated()); $this->model->beforeSave(); $this->assertTrue($this->model->getUpdated() != null); }