src/Robo/Commands/Saml/SimpleSamlPhpCommand.php
protected function symlinkDocrootToLibDir() {
    $docroot = $this->getConfigValue('docroot');

    $this->say("Creating a symbolic link from ${docroot}/simplesaml to web accessible directory in the simplesamlphp library...");
    $result = $this->taskFileSystemStack()
      ->symlink("../vendor/simplesamlphp/simplesamlphp/www", "${docroot}/simplesaml")
      ->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE)
      ->run();

    if (!$result->wasSuccessful()) {
      throw new BltException("Unable create symlink.");
    }
  }
protected function symlinkDocrootToLibDir() {
    $docroot = $this->getConfigValue('docroot');

    $this->say("Creating a symbolic link from ${docroot}/simplesaml to web accessible directory in the simplesamlphp library...");
    $result = $this->taskFileSystemStack()
      ->symlink("../vendor/simplesamlphp/simplesamlphp/www", "${docroot}/simplesaml")
      ->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE)
      ->run();

    if (!$result->wasSuccessful()) {
      throw new BltException("Unable create symlink.");
    }
  }
protected function symlinkDocrootToLibDir ( ) { $ docroot = $ this -> getConfigValue ( 'docroot' ) ; $ this -> say ( "Creating a symbolic link from ${docroot}/simplesaml to web accessible directory in the simplesamlphp library..." ) ; $ result = $ this -> taskFileSystemStack ( ) -> symlink ( "../vendor/simplesamlphp/simplesamlphp/www" , "${docroot}/simplesaml" ) -> setVerbosityThreshold ( VerbosityThresholdInterface :: VERBOSITY_VERBOSE ) -> run ( ) ; if ( ! $ result -> wasSuccessful ( ) ) { throw new BltException ( "Unable create symlink." ) ; } }
Creates a symlink from the docroot to the web accessible library dir.
@throws \Acquia\Blt\Robo\Exceptions\BltException
Creates a symlink from the docroot to the web accessible library dir .