concrete/src/Service/Manager/ServiceManager.php
public function getActiveServices()
    {
        $active = array();
        foreach ($this->getExtensions() as $handle) {
            $service = $this->getService($handle);
            $version = $service->getDetector()->detect();
            if ($version !== null) {
                $active[] = $this->getService($handle, $version);
            }
        }

        return $active;
    }
public function getActiveServices()
    {
        $active = array();
        foreach ($this->getExtensions() as $handle) {
            $service = $this->getService($handle);
            $version = $service->getDetector()->detect();
            if ($version !== null) {
                $active[] = $this->getService($handle, $version);
            }
        }

        return $active;
    }
public function getActiveServices ( ) { $ active = array ( ) ; foreach ( $ this -> getExtensions ( ) as $ handle ) { $ service = $ this -> getService ( $ handle ) ; $ version = $ service -> getDetector ( ) -> detect ( ) ; if ( $ version !== null ) { $ active [ ] = $ this -> getService ( $ handle , $ version ) ; } } return $ active ; }
Loops through the bound services and returns the ones that are active.

@return ServiceInterface[]
Loops through the bound services and returns the ones that are active .