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