function setExtends($options)
    {
        foreach ($options as $key => $v) {
            if (!is_int($key))
                $v = array($key => $v);

            $this->addExtend($v);
        }


        return $this;
    }
function setExtends($options)
    {
        foreach ($options as $key => $v) {
            if (!is_int($key))
                $v = array($key => $v);

            $this->addExtend($v);
        }


        return $this;
    }
function setExtends ( $ options ) { foreach ( $ options as $ key => $ v ) { if ( ! is_int ( $ key ) ) $ v = array ( $ key => $ v ) ; $ this -> addExtend ( $ v ) ; } return $ this ; }
'extends' => [
'newName' => 'serviceOrAlias',

@param array $options

@return $this
extends = > [ newName = > serviceOrAlias