getOperations() public method

Getter to return the currently registered operations.
public getOperations ( ) : array
return array
 public function testRemoveOperation()
 {
     $app = $this->getApp();
     $qb = new ContentQueryParser($app['storage'], $app['query.select']);
     $qb->addOperation('featured');
     $this->assertTrue(in_array('featured', $qb->getOperations()));
     $qb->removeOperation('featured');
     $this->assertFalse(in_array('featured', $qb->getOperations()));
 }