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