public function create()
    {
        $filesystem = new Filesystem();
        if (! file_exists($this->configDir)) {
            $filesystem->mkdir($this->configDir, 0777);
            $filesystem->copy(__DIR__ . '/../Resources/role_template/ServiceConfiguration.cscfg', $this->configDir . '/ServiceConfiguration.cscfg');
            $filesystem->copy(__DIR__ . '/../Resources/role_template/ServiceDefinition.csdef', $this->configDir . '/ServiceDefinition.csdef');
            $filesystem->mirror(__DIR__ . '/../Resources/role_template/resources', $this->configDir . '/resources', null, array(
                'copy_on_windows' => true
            ));
            $filesystem->mirror(__DIR__ . '/../Resources/role_template/php', $this->configDir . '/php', null, array(
                'copy_on_windows' => true
            ));
        }
        
        if (! file_exists($this->binDir)) {
            $filesystem->mkdir($this->binDir, 0777);
        }
        $filesystem->mirror(__DIR__ . '/../Resources/role_template/bin', $this->binDir, null, array(
            'copy_on_windows' => true
        ));
    }
public function create()
    {
        $filesystem = new Filesystem();
        if (! file_exists($this->configDir)) {
            $filesystem->mkdir($this->configDir, 0777);
            $filesystem->copy(__DIR__ . '/../Resources/role_template/ServiceConfiguration.cscfg', $this->configDir . '/ServiceConfiguration.cscfg');
            $filesystem->copy(__DIR__ . '/../Resources/role_template/ServiceDefinition.csdef', $this->configDir . '/ServiceDefinition.csdef');
            $filesystem->mirror(__DIR__ . '/../Resources/role_template/resources', $this->configDir . '/resources', null, array(
                'copy_on_windows' => true
            ));
            $filesystem->mirror(__DIR__ . '/../Resources/role_template/php', $this->configDir . '/php', null, array(
                'copy_on_windows' => true
            ));
        }
        
        if (! file_exists($this->binDir)) {
            $filesystem->mkdir($this->binDir, 0777);
        }
        $filesystem->mirror(__DIR__ . '/../Resources/role_template/bin', $this->binDir, null, array(
            'copy_on_windows' => true
        ));
    }
public function create ( ) { $ filesystem = new Filesystem ( ) ; if ( ! file_exists ( $ this -> configDir ) ) { $ filesystem -> mkdir ( $ this -> configDir , 0777 ) ; $ filesystem -> copy ( __DIR__ . '/../Resources/role_template/ServiceConfiguration.cscfg' , $ this -> configDir . '/ServiceConfiguration.cscfg' ) ; $ filesystem -> copy ( __DIR__ . '/../Resources/role_template/ServiceDefinition.csdef' , $ this -> configDir . '/ServiceDefinition.csdef' ) ; $ filesystem -> mirror ( __DIR__ . '/../Resources/role_template/resources' , $ this -> configDir . '/resources' , null , array ( 'copy_on_windows' => true ) ) ; $ filesystem -> mirror ( __DIR__ . '/../Resources/role_template/php' , $ this -> configDir . '/php' , null , array ( 'copy_on_windows' => true ) ) ; } if ( ! file_exists ( $ this -> binDir ) ) { $ filesystem -> mkdir ( $ this -> binDir , 0777 ) ; } $ filesystem -> mirror ( __DIR__ . '/../Resources/role_template/bin' , $ this -> binDir , null , array ( 'copy_on_windows' => true ) ) ; }
Create required directory structore for this azure deployment if not
exists already.

@return void
Create required directory structore for this azure deployment if not exists already .