AppserverIo\Appserver\Naming\NamingDirectory::setScheme PHP Méthode

setScheme() public méthode

Set the scheme, php or http for example
public setScheme ( string $scheme ) : void
$scheme string The scheme we want to use
Résultat void
    public function setScheme($scheme)
    {
        $this->scheme = $scheme;
    }

Usage Example

 /**
  * Initialize the instance to test.
  *
  * @return void
  */
 public function setUp()
 {
     $this->namingDirectory = new NamingDirectory();
     $this->namingDirectory->setScheme('php');
 }
All Usage Examples Of AppserverIo\Appserver\Naming\NamingDirectory::setScheme