public function offsetSet($index, $value) { $value->href = $this->appendCdn($value->href); parent::offsetSet($index, $value); }
public function testOffsetSetThrowsExceptionWithoutArrayArgument() { $this->setExpectedException('Zend\\View\\Exception\\ExceptionInterface'); $this->helper->offsetSet(1, 'foo'); }