original_string: public function setCompilationPath(string $compilationPath)
      {
          if (!\file_exists($compilationPath) || !\is_dir($compilationPath) || !\is_writable($compilationPath)) {
              throw new \RuntimeException(\sprintf(
                  '%s directory does not exist or is write protected',
                  $compilationPath
              ));
          }
  
          $this->compilationPath = $compilationPath;
  
          return $this;
      }
code: public function setCompilationPath(string $compilationPath)
      {
          if (!\file_exists($compilationPath) || !\is_dir($compilationPath) || !\is_writable($compilationPath)) {
              throw new \RuntimeException(\sprintf(
                  '%s directory does not exist or is write protected',
                  $compilationPath
              ));
          }
  
          $this->compilationPath = $compilationPath;
  
          return $this;
      }
code_tokens: public function setCompilationPath ( string $ compilationPath ) { if ( ! \ file_exists ( $ compilationPath ) || ! \ is_dir ( $ compilationPath ) || ! \ is_writable ( $ compilationPath ) ) { throw new \ RuntimeException ( \ sprintf ( '%s directory does not exist or is write protected' , $ compilationPath ) ) ; } $ this -> compilationPath = $ compilationPath ; return $ this ; }
docstring: Set compilation path.
  
  @param string $compilationPath
  
  @throws \RuntimeException
  
  @return static
docstring_tokens: Set compilation path .