/home/techb158/ileadtechnology.com/SSM/vendor/psy/psysh/src/Command
NameSizeModeActions
ListCommand/-0755rm
TimeitCommand/-0755rm
BufferCommand.php22180644editdlrm
ClearCommand.php10590644editdlrm
Command.php79580644editdlrm
DocCommand.php43560644editdlrm
DumpCommand.php25400644editdlrm
EditCommand.php57090644editdlrm
ExitCommand.php10840644editdlrm
HelpCommand.php29440644editdlrm
HistoryCommand.php76500644editdlrm
ListCommand.php101210644editdlrm
ParseCommand.php50270644editdlrm
PsyVersionCommand.php9530644editdlrm
ReflectingCommand.php105780644editdlrm
ShowCommand.php95180644editdlrm
SudoCommand.php37720644editdlrm
ThrowUpCommand.php45040644editdlrm
TimeitCommand.php53530644editdlrm
TraceCommand.php51540644editdlrm
WhereamiCommand.php43260644editdlrm
WtfCommand.php37910644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/psy/psysh/src/Command/DumpCommand.php (2540B)
presenter = $presenter; } /** * {@inheritdoc} */ protected function configure() { $this ->setName('dump') ->setDefinition([ new CodeArgument('target', CodeArgument::REQUIRED, 'A target object or primitive to dump.'), new InputOption('depth', '', InputOption::VALUE_REQUIRED, 'Depth to parse.', 10), new InputOption('all', 'a', InputOption::VALUE_NONE, 'Include private and protected methods and properties.'), ]) ->setDescription('Dump an object or primitive.') ->setHelp( <<<'HELP' Dump an object or primitive. This is like var_dump but way awesomer. e.g. >>> dump $_ >>> dump $someVar >>> dump $stuff->getAll() HELP ); } /** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $depth = $input->getOption('depth'); $target = $this->resolveCode($input->getArgument('target')); $output->page($this->presenter->present($target, $depth, $input->getOption('all') ? Presenter::VERBOSE : 0)); if (\is_object($target)) { $this->setCommandScopeVariables(new \ReflectionObject($target)); } return 0; } /** * @deprecated Use `resolveCode` instead * * @param string $name * * @return mixed */ protected function resolveTarget($name) { @\trigger_error('`resolveTarget` is deprecated; use `resolveCode` instead.', E_USER_DEPRECATED); return $this->resolveCode($name); } }