WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана


Container::getServiceIds() public Yoast 1.0

Gets all service ids.

{} Это метод класса: Container{}

Хуков нет.


Строку[]. An array of all defined service ids


$Container = new Container();

Код Container::getServiceIds() Yoast 17.1

public function getServiceIds()
    $ids = [];
    if (!$this->methodMap && !$this instanceof \YoastSEO_Vendor\Symfony\Component\DependencyInjection\ContainerBuilder && __CLASS__ !== static::class) {
        // We only check the convention-based factory in a compiled container (i.e. a child class other than a ContainerBuilder,
        // and only when the dumper has not generated the method map (otherwise the method map is considered to be fully populated by the dumper)
        @\trigger_error('Generating a dumped container without populating the method map is deprecated since Symfony 3.2 and will be unsupported in 4.0. Update your dumper to generate the method map.', \E_USER_DEPRECATED);
        foreach (\get_class_methods($this) as $method) {
            if (\preg_match('/^get(.+)Service$/', $method, $match)) {
                $ids[] = self::underscore($match[1]);
    $ids[] = 'service_container';
    return \array_map('strval', \array_unique(\array_merge($ids, \array_keys($this->methodMap), \array_keys($this->fileMap), \array_keys($this->aliases), \array_keys($this->services))));