public function addTrait(string $traitName, string $alias = null)
    {
        $this->traits[] = $this->addUse($traitName, $alias);

        return $this;
    }
public function addTrait(string $traitName, string $alias = null)
    {
        $this->traits[] = $this->addUse($traitName, $alias);

        return $this;
    }
public function addTrait ( string $ traitName , string $ alias = null ) { $ this -> traits [ ] = $ this -> addUse ( $ traitName , $ alias ) ; return $ this ; }
Adds a trait

@param string $traitName
@param string $alias

@return IntercessionClass
Adds a trait