public function setRuntimeServices($runtimeServices)
    {
        if (!in_array(gettype($runtimeServices), ['array', 'object'])) {
            throw new \InvalidArgumentException("The service provider list must be an array or an object, given " . gettype($runtimeServices));
        }

        $this->runtimeServices = array_merge($this->runtimeServices, (new Model($runtimeServices))->toArray());
    }
public function setRuntimeServices($runtimeServices)
    {
        if (!in_array(gettype($runtimeServices), ['array', 'object'])) {
            throw new \InvalidArgumentException("The service provider list must be an array or an object, given " . gettype($runtimeServices));
        }

        $this->runtimeServices = array_merge($this->runtimeServices, (new Model($runtimeServices))->toArray());
    }
public function setRuntimeServices ( $ runtimeServices ) { if ( ! in_array ( gettype ( $ runtimeServices ) , [ 'array' , 'object' ] ) ) { throw new \ InvalidArgumentException ( "The service provider list must be an array or an object, given " . gettype ( $ runtimeServices ) ) ; } $ this -> runtimeServices = array_merge ( $ this -> runtimeServices , ( new Model ( $ runtimeServices ) ) -> toArray ( ) ) ; }
Reconfigure the service builder list
@param array $runtimeServices
Reconfigure the service builder list