SplitEventTypeElement::hasRight PHP Method

hasRight() public method

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

Usage Example

コード例 #1
0
 /**
  * @covers SplitEventTypeElement::hasRight
  */
 public function testHasRight()
 {
     $this->object->eye = $this->eye('eyeRight');
     $this->assertTrue($this->object->hasRight());
 }