getType() public method

Returns the type for the kind of access mode
public getType ( ) : string
return string The type for the kind of access mode
 /**
  * Tests if the getType() method works as expected.
  *
  * @return void
  */
 public function testGetType()
 {
     // initialize the access node
     $this->access->setNodeName('access');
     $this->access->initFromFile(__DIR__ . '/_files/access.xml');
     // check the type and params
     $this->assertSame('allow', $this->access->getType());
     $this->assertSame(array('X_REQUEST_URI' => '.*'), $this->access->getParamsAsArray());
 }