Scalr\Server\Import\AbstractServerImport::__construct PHP Method

__construct() public method

Constructor
public __construct ( FarmRole $farmRole, User $user )
$farmRole Scalr\Model\Entity\FarmRole The Farm Role entity
$user Scalr\Model\Entity\Account\User The User entity
    public function __construct($farmRole, $user)
    {
        $this->farmRole = $farmRole;
        $this->user = $user;
        $this->db = \Scalr::getDb();
    }