SplitEventTypeElement::hasLeft PHP Method

hasLeft() public method

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

Usage Example

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