PHP Classes

File: src/SQLTools/Command/DropDataBase.php

Recommend this page to a friend!
  Classes of Rafael Lúcio   SQLTools   src/SQLTools/Command/DropDataBase.php   Download  
File: src/SQLTools/Command/DropDataBase.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: SQLTools
Create and alter databases, tables and indexes
Author: By
Last change: Update of src/SQLTools/Command/DropDataBase.php
Date: 6 months ago
Size: 391 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * User: rfontes
 * Date: 18/11/13
 * Time: 10:00
 */

namespace SQLTools\Command;


use
SQLTools\Base\ICommand;

class
DropDataBase implements ICommand {
    private
$dbName;

    public function
__construct($dbName)
    {
       
$this->dbName = $dbName;
    }

    public function
getSql()
    {
        return
"DROP DATABASE {$this->dbName};";
    }

}