/**
  * hide the full file system path in case the logger spits out data to the
  * public
  */
 protected function getPath(\CleverError $e)
 {
     // assuming that Clever was installed via composer
     $basePath = "vendor" . DIRECTORY_SEPARATOR;
     if (($pos = strpos($e->getFile(), $basePath)) !== false) {
         return substr($e->getFile(), $pos);
     }
     return basename($e->getFile());
 }