Ejemplo n.º 1
0
 /**
  * Checks whether the given option equals this one.
  *
  * @param InputOption $option
  *        	option to compare
  *        	
  * @return bool
  */
 public function equals(InputOption $option)
 {
     return $option->getName() === $this->getName() && $option->getShortcut() === $this->getShortcut() && $option->getDefault() === $this->getDefault() && $option->isArray() === $this->isArray() && $option->isValueRequired() === $this->isValueRequired() && $option->isValueOptional() === $this->isValueOptional();
 }