Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
130 additions
and
53 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
36 changes: 36 additions & 0 deletions
36
packages/core/src/Entity/PageTrait/PageEditorInterface.php
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,36 @@ | ||
<?php | ||
|
||
namespace Pushword\Core\Entity\PageTrait; | ||
|
||
use Doctrine\Common\Collections\ArrayCollection; | ||
//use Pushword\Core\Entity\PageHasEditor; | ||
use Pushword\Core\Entity\UserInterface; | ||
|
||
interface PageEditorInterface | ||
{ | ||
public function getLastEditBy(): ?UserInterface; | ||
|
||
public function setLastEditBy(?UserInterface $lastEditor): void; | ||
|
||
/** | ||
* Get targetEntity="Pushword\Core\Entity\UserInterface",. | ||
*/ | ||
public function getCreatedBy(): ?UserInterface; | ||
|
||
/** | ||
* Set targetEntity="Pushword\Core\Entity\UserInterface",. | ||
*/ | ||
public function setCreatedBy(?UserInterface $createdBy): void; | ||
|
||
/* | ||
public function setPageHasEditors($pageHasEditors): void; | ||
public function getPageHasEditors(): ?ArrayCollection; | ||
public function addPageHasEditor(PageHasEditor $pageHasEditor): void; | ||
public function resetPageHasEditors(): void; | ||
public function removePageHasEditor(PageHasEditor $pageHasEditor): void; | ||
*/ | ||
} |
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
Binary file not shown.
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