library/rampage/core/ServiceManager.php
public function setShared($name, $isShared)
    {
        $cName = $this->canonicalizeName($name);
        $this->shared[$cName] = (bool)$isShared;

        return $this;
    }
public function setShared($name, $isShared)
    {
        $cName = $this->canonicalizeName($name);
        $this->shared[$cName] = (bool)$isShared;

        return $this;
    }
public function setShared ( $ name , $ isShared ) { $ cName = $ this -> canonicalizeName ( $ name ) ; $ this -> shared [ $ cName ] = ( bool ) $ isShared ; return $ this ; }
Custom setShared implementation.

This does not check if a service can be instanciated by this service manager.
Definitions may be added at runtime so don't care about instanciability.

@param string $name The service to mark as shared or not shared
@param bool $isShared Flag if the service should be shared or not
@return \rampage\core\ServiceManager
Custom setShared implementation .