public static function loadCoreView(string $name) {
      $base = __DIR__ . '/../../Views/';
      if (!file_exists($base . $name . '.view')) {
        throw new \Nuki\Exceptions\Base('The view file "' . $name . '" does not exist.');
      }
      
      return file_get_contents($base . $name . '.view');
    }
public static function loadCoreView(string $name) {
      $base = __DIR__ . '/../../Views/';
      if (!file_exists($base . $name . '.view')) {
        throw new \Nuki\Exceptions\Base('The view file "' . $name . '" does not exist.');
      }
      
      return file_get_contents($base . $name . '.view');
    }
public static function loadCoreView ( string $ name ) { $ base = __DIR__ . '/../../Views/' ; if ( ! file_exists ( $ base . $ name . '.view' ) ) { throw new \ Nuki \ Exceptions \ Base ( 'The view file "' . $ name . '" does not exist.' ) ; } return file_get_contents ( $ base . $ name . '.view' ) ; }
Load the contents of a core view file

@param string $name
@return string
@throws \Nuki\Exceptions\Base
Load the contents of a core view file