protected function checkTraitsDependencies()
    {
        $traits = $this->getUsedTraits();
        $reflection = new \ReflectionClass($this);
        foreach($traits as $trait) {
            $methodName = 'setTraitDependencies' . $trait;
            if($reflection->hasMethod($methodName)) {
                $this->$methodName();
                $this->checkTraitDependencies($trait);
            }
        }
    }