Created
December 15, 2010 16:44
-
-
Save nfabre/742227 to your computer and use it in GitHub Desktop.
VmwareUserCreate.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
class VmwareUserCreateTask extends Task { | |
// ... | |
private $vmconnex = array(); | |
public function createVmconnex() { | |
$num = array_push($this->vmconnex, new Connexion()); | |
return $this->vmconnex[$num-1]; | |
} | |
public function addVmconnex(Connexion $vmconnex) { | |
$num = array_push($this->vmconnex,$vmconnex); | |
return $this->vmconnex[$num-1]; | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment