forked from ZF-Commons/ZfcUserDoctrineORM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ZF-Commons#20 from SpiffyJr/pr/refactor
Refactored for latest ZfcBase/ZfcUser changes.
- Loading branch information
Showing
14 changed files
with
107 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
config/xml/entity/ZfcUserDoctrineORM.Entity.UserMeta.dcm.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping | ||
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> | ||
|
||
<mapped-superclass name="ZfcUser\Entity\User" table="user"> | ||
|
||
<id name="id" type="integer" column="id"> | ||
<generator strategy="AUTO" /> | ||
</id> | ||
|
||
<field name="username" type="string" length="255" unique="true" nullable="true" /> | ||
<field name="email" type="string" unique="true" length="255" /> | ||
<field name="displayName" column="display_name" type="string" length="50" nullable="true" /> | ||
<field name="password" type="string" length="128" /> | ||
|
||
</mapped-superclass> | ||
|
||
</doctrine-mapping> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
75 changes: 0 additions & 75 deletions
75
src/ZfcUserDoctrineORM/Event/ResolveTargetEntityListener.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
namespace ZfcUserDoctrineORM\Options; | ||
|
||
use ZfcUser\Options\ModuleOptions as BaseModuleOptions; | ||
|
||
class ModuleOptions extends BaseModuleOptions | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $userEntityClass = 'ZfcUserDoctrineORM\Entity\User'; | ||
|
||
/** | ||
* @var bool | ||
*/ | ||
protected $enableDefaultEntities = true; | ||
|
||
/** | ||
* @param boolean $enableDefaultEntities | ||
*/ | ||
public function setEnableDefaultEntities($enableDefaultEntities) | ||
{ | ||
$this->enableDefaultEntities = $enableDefaultEntities; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return boolean | ||
*/ | ||
public function getEnableDefaultEntities() | ||
{ | ||
return $this->enableDefaultEntities; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.