public function getToolProvider()
    {
        if (empty($this->toolProvider)) {
            $this->setToolProvider(
                new ToolProvider(
                    $this->mysql,
                    $this->metadata['TOOL_HANDLER_URLS']
                )
            );
        }
        return $this->toolProvider;
    }
public function getToolProvider()
    {
        if (empty($this->toolProvider)) {
            $this->setToolProvider(
                new ToolProvider(
                    $this->mysql,
                    $this->metadata['TOOL_HANDLER_URLS']
                )
            );
        }
        return $this->toolProvider;
    }
public function getToolProvider ( ) { if ( empty ( $ this -> toolProvider ) ) { $ this -> setToolProvider ( new ToolProvider ( $ this -> mysql , $ this -> metadata [ 'TOOL_HANDLER_URLS' ] ) ) ; } return $ this -> toolProvider ; }
Get the ToolProvider object

This does some just-in-time initialization, so that if the ToolProvider
has not yet been accessed, it will be instantiated and initialized by this
method.

@return ToolProvider
Get the ToolProvider object