Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function equals(Binding $other)
 {
     if (!parent::equals($other)) {
         return false;
     }
     /* @var ClassBinding $other */
     return $this->className === $other->className;
 }
Esempio n. 2
0
 public function equals(Binding $other)
 {
     if (!parent::equals($other)) {
         return false;
     }
     /* @var StringBinding $other */
     return $this->string === $other->string;
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function equals(Binding $other)
 {
     if (!parent::equals($other)) {
         return false;
     }
     /** @var ResourceBinding $other */
     if ($this->query !== $other->query) {
         return false;
     }
     return $this->language === $other->language;
 }