comparison vendor/psy/psysh/src/Command/DumpCommand.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
71 { 71 {
72 $depth = $input->getOption('depth'); 72 $depth = $input->getOption('depth');
73 $target = $this->resolveCode($input->getArgument('target')); 73 $target = $this->resolveCode($input->getArgument('target'));
74 $output->page($this->presenter->present($target, $depth, $input->getOption('all') ? Presenter::VERBOSE : 0)); 74 $output->page($this->presenter->present($target, $depth, $input->getOption('all') ? Presenter::VERBOSE : 0));
75 75
76 if (is_object($target)) { 76 if (\is_object($target)) {
77 $this->setCommandScopeVariables(new \ReflectionObject($target)); 77 $this->setCommandScopeVariables(new \ReflectionObject($target));
78 } 78 }
79 } 79 }
80 80
81 /** 81 /**
85 * 85 *
86 * @return mixed 86 * @return mixed
87 */ 87 */
88 protected function resolveTarget($name) 88 protected function resolveTarget($name)
89 { 89 {
90 @trigger_error('`resolveTarget` is deprecated; use `resolveCode` instead.', E_USER_DEPRECATED); 90 @\trigger_error('`resolveTarget` is deprecated; use `resolveCode` instead.', E_USER_DEPRECATED);
91 91
92 return $this->resolveCode($name); 92 return $this->resolveCode($name);
93 } 93 }
94 } 94 }