SplitEventTypeElement::hasLeft PHP Méthode

hasLeft() public méthode

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

Usage Example

 /**
  * @covers SplitEventTypeElement::hasLeft
  */
 public function testHasLeft()
 {
     $this->object->eye = $this->eye('eyeLeft');
     $this->assertTrue($this->object->hasLeft());
 }