protected function getEnvironmentArgument(array $args)
	{
		foreach ($args as $k => $v)
		{
			if (substr($v, 0, strlen('--env')) == '--env')
			{
				return $v;
			}
		}

		return null;
	}
protected function getEnvironmentArgument(array $args)
	{
		foreach ($args as $k => $v)
		{
			if (substr($v, 0, strlen('--env')) == '--env')
			{
				return $v;
			}
		}

		return null;
	}
protected function getEnvironmentArgument ( array $ args ) { foreach ( $ args as $ k => $ v ) { if ( substr ( $ v , 0 , strlen ( '--env' ) ) == '--env' ) { return $ v ; } } return null ; }
Get the enviornment argument from the console.

@param   array  $args
@return  mixed  string|null
Get the enviornment argument from the console .