Esempio n. 1
0
 /**
  * Returns the data as an associative array.
  *
  * @return array with all data
  */
 public function getOptionsAsArray()
 {
     return $this->options->toArray();
 }
Esempio n. 2
0
 /**
  * @expectedException \Trellis\Common\Error\RuntimeException
  */
 public function testExchangeArrayFails()
 {
     $options = new Options();
     $options->exchangeArray(array('foo' => 'omg'));
 }