Add namespace.

This commit is contained in:
2014-06-02 18:58:49 +04:00
parent aec1a60985
commit 1ba341b064
159 changed files with 265 additions and 264 deletions

28
Model/DbExpr.php Normal file
View File

@ -0,0 +1,28 @@
<?php namespace Majestic\Model;
/**
* @copyright NetMonsters <team@netmonsters.ru>
* @link http://netmonsters.ru
* @package Majestic
* @subpackage db
* @since 2010-02-19
*/
class DbExpr
{
protected $expression;
/**
* @param string $expression
* @return DbExpr
*/
public function __construct($expression)
{
$this->expression = (string) $expression;
}
public function __toString()
{
return $this->expression;
}
}