protected function callTraitMethod($traitName, $methodName)
    {
        return method_exists($this, $traitName . $methodName)
            ? $this->{$traitName . $methodName}()
            : null;
    }
protected function callTraitMethod($traitName, $methodName)
    {
        return method_exists($this, $traitName . $methodName)
            ? $this->{$traitName . $methodName}()
            : null;
    }
protected function callTraitMethod ( $ traitName , $ methodName ) { return method_exists ( $ this , $ traitName . $ methodName ) ? $ this -> { $ traitName . $ methodName } ( ) : null ; }
Call a trait method and return a result or null in not exists.
This method builds a full method name, checks it and calls if exists.
@param string $traitName
@param string $methodName
@return null|mixed
Call a trait method and return a result or null in not exists . This method builds a full method name checks it and calls if exists .