protected function addAttributes(&$script) { parent::addAttributes($script); if ($this->getTable()->getAttribute('isI18N')) { $script .= ' /** * The value for the culture field. * @var string */ protected $culture; '; } }
/** * Adds class attributes. * @param string &$script The script will be modified in this method. */ protected function addAttributes(&$script) { parent::addAttributes($script); $this->addTraceAttributes($script); }