public function getSessionInstances()
    {
        $sessionObjects = [];
        foreach ($this->objects as $information) {
            if (isset($information['i']) && $information['s'] === ObjectConfiguration::SCOPE_SESSION) {
                $sessionObjects[] = $information['i'];
            }
        }
        return $sessionObjects;
    }
public function getSessionInstances()
    {
        $sessionObjects = [];
        foreach ($this->objects as $information) {
            if (isset($information['i']) && $information['s'] === ObjectConfiguration::SCOPE_SESSION) {
                $sessionObjects[] = $information['i'];
            }
        }
        return $sessionObjects;
    }
public function getSessionInstances ( ) { $ sessionObjects = [ ] ; foreach ( $ this -> objects as $ information ) { if ( isset ( $ information [ 'i' ] ) && $ information [ 's' ] === ObjectConfiguration :: SCOPE_SESSION ) { $ sessionObjects [ ] = $ information [ 'i' ] ; } } return $ sessionObjects ; }
Returns all instances of objects with scope session

@return array
Returns all instances of objects with scope session