public function getNeeds() { return $this->needs; }
/** * Test that requires options are set correctly */ public function testSetRequired() { $option = new Option('f'); $option->setNeeds('foo'); $this->assertTrue(in_array('foo', $option->getNeeds())); }