Ouzo\Db\ModelJoin::equals PHP Method

equals() public method

public equals ( ModelJoin $other )
$other ModelJoin
    public function equals(ModelJoin $other)
    {
        return $this->relation === $other->relation && $this->alias === $other->alias && $this->destinationField === $other->destinationField && $this->fromTable === $other->fromTable && $this->type === $other->type && $this->on === $other->on;
    }