add namespace Westdc\User

This commit is contained in:
Jianxuan Li 2014-09-19 17:10:29 +08:00
parent 2d4febd29d
commit cfde7a5db6
2 changed files with 47 additions and 0 deletions

15
Westdc/User/User.php Normal file
View File

@ -0,0 +1,15 @@
<?php
/**
* Created by PhpStorm.
* User: Li Jianxuan
* Date: 14-9-19
* Time: 下午3:21
*/
namespace Westdc\User;
class User {
}

View File

@ -0,0 +1,32 @@
<?php
/**
* Created by PhpStorm.
* User: Li Jianxuan
* Date: 14-9-19
* Time: 下午4:23
*/
namespace Westdc\User;
use Zend\ServiceManager\ServiceManager;
use Zend\ServiceManager\ServiceManagerAwareInterface;
class UserService implements ServiceManagerAwareInterface{
/**
* @var ServiceManager
*/
protected $serviceManager;
/**
* @param ServiceManager $serviceManager
* @return service
*/
public function setServiceManager(ServiceManager $serviceManager)
{
$this->serviceManager = $serviceManager;
return $this;
}
}