protected function newDepance(){
        if(is_array($this->depandeClass) && !empty($this->depandeClass)){
            if(!isset($this->depandeClass['class'])){
                $depanceModels=[];
                foreach ($this->depandeClass as $key=>$depance){
                    $name=StringHelper::basename($depance['class']);

                    /**
                     * @var \yii\db\ActiveRecord $depanceModels
                     */
                    $depanceModels[$name]=Yii::createObject($depance['class']);

                    if(isset($depance['scenario'])){
                        $depanceModels[$name]->setScenario($depance['scenario']);
                    }
                    if(isset($depance['condition'])){
                        $this->analysisLinkStack($depance['condition'],$name);
                    }
                }
            }else{
                $name=StringHelper::basename($this->depandeClass['class']);
                /**
                 * @var \yii\db\ActiveRecord $depanceModels
                 */
                $depanceModels[$name]=Yii::createObject($this->depandeClass['class']);
                if(isset($this->depandeClass['scenario'])){
                    $depanceModels[$name]->setScenario($this->depandeClass['scenario']);
                }
                if(isset($this->depandeClass['condition'])){
                    $this->analysisLinkStack($this->depandeClass['condition'],$name);
                }
            }
            if(!empty($depanceModels)){
                return $depanceModels;
            }
        }
        return false;
    }