getRule() public method

Return the internal rule array, as it was passed to the constructor.
public getRule ( ) : array
return array
Example #1
0
 public function testGetRule()
 {
     $array = array('FREQ' => 'YEARLY');
     $rrule = new RRule($array);
     $this->assertInternalType('array', $rrule->getRule());
 }