public function setObjects(array $objects)
    {
        $this->objects = $objects;
        $this->objects[ObjectManagerInterface::class]['i'] = $this;
        $this->objects[get_class($this)]['i'] = $this;
    }
public function setObjects(array $objects)
    {
        $this->objects = $objects;
        $this->objects[ObjectManagerInterface::class]['i'] = $this;
        $this->objects[get_class($this)]['i'] = $this;
    }
public function setObjects ( array $ objects ) { $ this -> objects = $ objects ; $ this -> objects [ ObjectManagerInterface :: class ] [ 'i' ] = $ this ; $ this -> objects [ get_class ( $ this ) ] [ 'i' ] = $ this ; }
Sets the objects array

@param array $objects An array of object names and some information about each registered object (scope, lower cased name etc.)
@return void
Sets the objects array