CodeExplorer findProperServiceName example
$object =
new ParameterBag($parameters);
$options =
[];
} elseif ($parameter =
$input->
getOption('parameter'
)) { $options =
['parameter' =>
$parameter];
} elseif ($input->
getOption('tags'
)) { $options =
['group_by' => 'tags'
];
} elseif ($tag =
$input->
getOption('tag'
)) { $tag =
$this->
findProperTagName($input,
$errorIo,
$object,
$tag);
$options =
['tag' =>
$tag];
} elseif ($name =
$input->
getArgument('name'
)) { $name =
$this->
findProperServiceName($input,
$errorIo,
$object,
$name,
$input->
getOption('show-hidden'
));
$options =
['id' =>
$name];
} elseif ($input->
getOption('deprecations'
)) { $options =
['deprecations' => true
];
} else { $options =
[];
} $helper =
new DescriptorHelper();
$options['format'
] =
$input->
getOption('format'
);
$options['show_arguments'
] =
$input->
getOption('show-arguments'
);
$options['show_hidden'
] =
$input->
getOption('show-hidden'
);