add namespace Westdc\User
This commit is contained in:
parent
2d4febd29d
commit
cfde7a5db6
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: Li Jianxuan
|
||||||
|
* Date: 14-9-19
|
||||||
|
* Time: 下午3:21
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Westdc\User;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class User {
|
||||||
|
|
||||||
|
}
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue