public function getConnectionType($evaluate = true)
    {
        return ($evaluate && is_callable($this->connectedType))
            ? call_user_func($this->connectedType)
            : $this->connectedType;
    }
public function getConnectionType($evaluate = true)
    {
        return ($evaluate && is_callable($this->connectedType))
            ? call_user_func($this->connectedType)
            : $this->connectedType;
    }
public function getConnectionType ( $ evaluate = true ) { return ( $ evaluate && is_callable ( $ this -> connectedType ) ) ? call_user_func ( $ this -> connectedType ) : $ this -> connectedType ; }
Evaluate Connection type

@param bool $evaluate
@return ObjectType|Callable
Evaluate Connection type