SplitEventTypeElement::hasRight PHP Méthode

hasRight() public méthode

public hasRight ( )
    public function hasRight()
    {
        return $this->eye && $this->eye->id != Eye::LEFT;
    }

Usage Example

 /**
  * @covers SplitEventTypeElement::hasRight
  */
 public function testHasRight()
 {
     $this->object->eye = $this->eye('eyeRight');
     $this->assertTrue($this->object->hasRight());
 }