AppserverIo\Appserver\Naming\NamingDirectory::setScheme PHP Method

setScheme() public method

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

Usage Example

Ejemplo n.º 1
0
 /**
  * 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