protected function getResourceManager()
    {
        if ($this->resourceManager === null) {
            $this->resourceManager = Services::resourceManager();
        }
        return $this->resourceManager;
    }
protected function getResourceManager()
    {
        if ($this->resourceManager === null) {
            $this->resourceManager = Services::resourceManager();
        }
        return $this->resourceManager;
    }
protected function getResourceManager ( ) { if ( $ this -> resourceManager === null ) { $ this -> resourceManager = Services :: resourceManager ( ) ; } return $ this -> resourceManager ; }
Returns resource manager instance used by component.

@return ResourceManager
Returns resource manager instance used by component .