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
<?php | |
/** | |
* Configuration for doctrine cli. | |
* | |
* This file is auto detected and used by doctrine cli. | |
*/ | |
use Doctrine\ORM\Tools\Console\ConsoleRunner; | |
use Doctrine\ORM\EntityManager; |
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
<?php | |
class PostEntity | |
{ | |
private $id; | |
private $user; | |
private $title; | |
private $content; | |
private $date; | |
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
<?php | |
namespace Application\Service; | |
use Zend\Crypt\Password\Bcrypt; | |
use Application\Entity; | |
class UserService | |
{ | |