protected function runPlainShell()
	{
		$input = $this->prompt();

		while ($input != 'quit')
		{
			// We will wrap the execution of the command in a try / catch block so we
			// can easily display the errors in a convenient way instead of having
			// them bubble back out to the CLI and stop the entire command loop.
			try
			{
				if (starts_with($input, 'dump '))
				{
					$input = 'var_dump('.substr($input, 5).');';
				}

				eval($input);
			}

			// If an exception occurs, we will just display the message and keep this
			// loop going so we can keep executing commands. However, when a fatal
			// error occurs, we have no choice but to bail out of this routines.
			catch (\Exception $e)
			{
				$this->error($e->getMessage());
			}

			$input = $this->prompt();
		}
	}
protected function runPlainShell()
	{
		$input = $this->prompt();

		while ($input != 'quit')
		{
			// We will wrap the execution of the command in a try / catch block so we
			// can easily display the errors in a convenient way instead of having
			// them bubble back out to the CLI and stop the entire command loop.
			try
			{
				if (starts_with($input, 'dump '))
				{
					$input = 'var_dump('.substr($input, 5).');';
				}

				eval($input);
			}

			// If an exception occurs, we will just display the message and keep this
			// loop going so we can keep executing commands. However, when a fatal
			// error occurs, we have no choice but to bail out of this routines.
			catch (\Exception $e)
			{
				$this->error($e->getMessage());
			}

			$input = $this->prompt();
		}
	}
protected function runPlainShell ( ) { $ input = $ this -> prompt ( ) ; while ( $ input != 'quit' ) { // We will wrap the execution of the command in a try / catch block so we // can easily display the errors in a convenient way instead of having // them bubble back out to the CLI and stop the entire command loop. try { if ( starts_with ( $ input , 'dump ' ) ) { $ input = 'var_dump(' . substr ( $ input , 5 ) . ');' ; } eval ( $ input ) ; } // If an exception occurs, we will just display the message and keep this // loop going so we can keep executing commands. However, when a fatal // error occurs, we have no choice but to bail out of this routines. catch ( \ Exception $ e ) { $ this -> error ( $ e -> getMessage ( ) ) ; } $ input = $ this -> prompt ( ) ; } }
Run the plain FlyConsole tinker shell.

@return void
Run the plain FlyConsole tinker shell .