/** * {@inheritDoc} */ public function getAttributes() { return array_merge(parent::getAttributes(), array('type' => 'text/javascript', 'src' => $this->_src)); }