src/CLI/Command/ArgumentParser.php
protected function extendPossibleOptionsWithShortcuts()
	{
		foreach( $this->shortcuts as $short	=> $long )
		{
			if( !isset( $this->possibleOptions[$long] ) )
				throw new InvalidArgumentException( 'Invalid shortcut to not existing option "'.$long.'" .' );
			$this->possibleOptions[$short]	= $this->possibleOptions[$long];
		}
	}
protected function extendPossibleOptionsWithShortcuts()
	{
		foreach( $this->shortcuts as $short	=> $long )
		{
			if( !isset( $this->possibleOptions[$long] ) )
				throw new InvalidArgumentException( 'Invalid shortcut to not existing option "'.$long.'" .' );
			$this->possibleOptions[$short]	= $this->possibleOptions[$long];
		}
	}
protected function extendPossibleOptionsWithShortcuts ( ) { foreach ( $ this -> shortcuts as $ short => $ long ) { if ( ! isset ( $ this -> possibleOptions [ $ long ] ) ) throw new InvalidArgumentException ( 'Invalid shortcut to not existing option "' . $ long . '" .' ) ; $ this -> possibleOptions [ $ short ] = $ this -> possibleOptions [ $ long ] ; } }
Extends internal Option List with afore set Shortcut List.
@access		protected
@return		void
Extends internal Option List with afore set Shortcut List .