private static function Utility::reflectionClass in Views PDF 8
Create a new reflection class.
Parameters
string $class Class name string:
Return value
\ReflectionClass|NULL
1 call to Utility::reflectionClass()
- Utility::getPathTcpdf in src/Share/ Utility.php 
- Help to get the TCPDF path.
File
- src/Share/ Utility.php, line 19 
- Contains \Drupal\views_pdf\Share\Utility
Class
Namespace
Drupal\views_pdf\ShareCode
private static function reflectionClass(string $class) {
  $reflection = NULL;
  try {
    $reflection = new \ReflectionClass($class);
  } catch (\ReflectionException $e) {
    \Drupal::logger('views_pdf')
      ->error($e
      ->getMessage());
  }
  return $reflection;
}