for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of Transfer.
*
* For the full copyright and license information, please view the LICENSE file located
* in the root directory.
*/
namespace Transfer\EzPlatform\Repository\Values;
use Transfer\EzPlatform\Repository\Values\Mapper\UserMapper;
* User object.
* @see http://transfer-framework.com/docs/1.0/sources_and_targets/ezplatform/the_objects/userobject.html
class UserObject extends EzPlatformObject
{
* @var UserMapper
protected $mapper;
* @return UserMapper
public function getMapper()
if (!$this->mapper) {
$this->mapper = new UserMapper($this);
}
return $this->mapper;
* Allows direct control in UserCreateStruct and UserUpdateStruct.
* @param \Closure $callback
public function setStructCallback(\Closure $callback)
$this->setProperty('struct_callback', $callback);