/var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Command/ListCommand
NameSizeModeActions
ClassConstantEnumerator.php32460644editdlrm
ClassEnumerator.php38620644editdlrm
ConstantEnumerator.php47450644editdlrm
Enumerator.php26930644editdlrm
FunctionEnumerator.php30760644editdlrm
GlobalVariableEnumerator.php20410644editdlrm
MethodEnumerator.php39820644editdlrm
PropertyEnumerator.php49580644editdlrm
VariableEnumerator.php35270644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Command/ListCommand/Enumerator.php (2693B)
filter = new FilterOptions(); $this->presenter = $presenter; } /** * Return a list of categorized things with the given input options and target. * * @param InputInterface $input * @param \Reflector|null $reflector * @param mixed $target * * @return array */ public function enumerate(InputInterface $input, \Reflector $reflector = null, $target = null): array { $this->filter->bind($input); return $this->listItems($input, $reflector, $target); } /** * Enumerate specific items with the given input options and target. * * Implementing classes should return an array of arrays: * * [ * 'Constants' => [ * 'FOO' => [ * 'name' => 'FOO', * 'style' => 'public', * 'value' => '123', * ], * ], * ] * * @param InputInterface $input * @param \Reflector|null $reflector * @param mixed $target * * @return array */ abstract protected function listItems(InputInterface $input, \Reflector $reflector = null, $target = null): array; protected function showItem($name) { return $this->filter->match($name); } protected function presentRef($value) { return $this->presenter->presentRef($value); } protected function presentSignature($target) { // This might get weird if the signature is actually for a reflector. Hrm. if (!$target instanceof \Reflector) { $target = Mirror::get($target); } return SignatureFormatter::format($target); } }