Example #1
0
 public function isIdentical(self $tags)
 {
     return $this->toArray() == $tags->toArray();
 }
Example #2
0
 public function testIsNotIdentical()
 {
     $modelA = new Tags(['Foo' => 'Bar']);
     $modelB = new Tags(['Baz' => 'Qux']);
     $this->assertFalse($modelA->isIdentical($modelB));
 }