sameAs() public method

The equality is done using the resource path.
public sameAs ( Resource $other ) : boolean
$other Resource The resource to compare with.
return boolean True if the resources are considered eqaul, false otherwise.
 public function sameAs(\Newscoop\Entity\Resource $other)
 {
     $this->__load();
     return parent::sameAs($other);
 }