PHP code example of rafalkanski / rollbar-bundle
1. Go to this page and download the library: Download rafalkanski/rollbar-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rafalkanski / rollbar-bundle example snippets
php
public function registerBundles()
{
if ($this->getEnvironment() == 'prod') {
$bundles[] = new \Ftrrtf\RollbarBundle\FtrrtfRollbarBundle();
}
}