SplitEventTypeElement::hasRight PHP 메소드

hasRight() 공개 메소드

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());
 }