original_string: protected function getBuildFile()
      {
          $buildfile = getcwd().'/build.yml';
  
          if (true === $this->input->hasParameterOption('--buildfile')) {
              $buildfile = realpath($this->input->getParameterOption('--buildfile'));
          }
  
          if (is_file($buildfile) && is_readable($buildfile)) {
              return $buildfile;
          }
  
          throw new \Exception(
              sprintf('Could not find build file "%s"', $buildfile)
          );
      }
code: protected function getBuildFile()
      {
          $buildfile = getcwd().'/build.yml';
  
          if (true === $this->input->hasParameterOption('--buildfile')) {
              $buildfile = realpath($this->input->getParameterOption('--buildfile'));
          }
  
          if (is_file($buildfile) && is_readable($buildfile)) {
              return $buildfile;
          }
  
          throw new \Exception(
              sprintf('Could not find build file "%s"', $buildfile)
          );
      }
code_tokens: protected function getBuildFile ( ) { $ buildfile = getcwd ( ) . '/build.yml' ; if ( true === $ this -> input -> hasParameterOption ( '--buildfile' ) ) { $ buildfile = realpath ( $ this -> input -> getParameterOption ( '--buildfile' ) ) ; } if ( is_file ( $ buildfile ) && is_readable ( $ buildfile ) ) { return $ buildfile ; } throw new \ Exception ( sprintf ( 'Could not find build file "%s"' , $ buildfile ) ) ; }
docstring: Used to return the location of the build file
  
  @return string
  @throw Exception
docstring_tokens: Used to return the location of the build file