-
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 #11 from maartenJacobs/interfaces
Interfaces for (nearly) everything
- Loading branch information
Showing
33 changed files
with
880 additions
and
186 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the CCDNUser ProfileBundle | ||
* | ||
* (c) CCDN (c) CodeConsortium <http://www.codeconsortium.com/> | ||
* | ||
* Available on github <http://www.github.com/codeconsortium/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace CCDNUser\ProfileBundle\Entity; | ||
|
||
use Symfony\Component\Security\Core\User\UserInterface; | ||
|
||
/** | ||
* | ||
* @category CCDNUser | ||
* @package ProfileBundle | ||
* | ||
* @author Maarten Jacobs <maarten.j.jacobs@gmail.com> | ||
* @license http://opensource.org/licenses/MIT MIT | ||
* @version Release: 2.0 | ||
* @link https://github.com/codeconsortium/CCDNUserProfileBundle | ||
* | ||
*/ | ||
interface ProfileUserInterface extends UserInterface | ||
{ | ||
/** | ||
* Set profile | ||
* | ||
* @param Profile $profile | ||
*/ | ||
public function setProfile(Profile $profile); | ||
|
||
/** | ||
* Get profile | ||
* | ||
* @return Profile | ||
*/ | ||
public function getProfile(); | ||
|
||
/** | ||
* Get registered date | ||
* | ||
* @return \Datetime | ||
*/ | ||
public function getRegisteredDate(); | ||
|
||
/** | ||
* Set registered date | ||
* | ||
* @param \Datetime $registeredDate | ||
*/ | ||
public function setRegisteredDate(\Datetime $registeredDate); | ||
} |
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
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
Oops, something went wrong.