Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // src/BlogBundle/Repository/PostRepository.php
- namespace BlogBundle\Repository;
- use BlogBundle\Entity\Post;
- use Doctrine\ORM\EntityRepository;
- class PostRepository extends EntityRepository
- {
- public function persist(Post $post)
- {
- // Perform save to db
- }
- }
- https://github.com/shfx17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement