public function setDefinition($definition)
	{
		if ($definition instanceof InputDefinition)
		{
			$this->definition = $definition;
		}
		else
		{
			$this->definition->setDefinition($definition);
		}

		$this->applicationDefinitionMerged = false;
	}
public function setDefinition($definition)
	{
		if ($definition instanceof InputDefinition)
		{
			$this->definition = $definition;
		}
		else
		{
			$this->definition->setDefinition($definition);
		}

		$this->applicationDefinitionMerged = false;
	}
public function setDefinition ( $ definition ) { if ( $ definition instanceof InputDefinition ) { $ this -> definition = $ definition ; } else { $ this -> definition -> setDefinition ( $ definition ) ; } $ this -> applicationDefinitionMerged = false ; }
Sets the input definition for the command.

@param   array|InputDefinition  $definition  Either an InputDefinition object or an array of objects to write to the definition.

@return  void

@since   __DEPLOY_VERSION__
Sets the input definition for the command .