Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bingo
ServiceCore
Commits
fa9b2e3f
Commit
fa9b2e3f
authored
5 years ago
by
Виктор Волков
Browse files
Options
Download
Email Patches
Plain Diff
fix: fix abstract commands
parent
1da6c786
1 merge request
!57
Develop
Pipeline
#4278
passed with stages
in 1 minute and 43 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
34 deletions
+0
-34
src/Application/Command/AbstractEntityCreateCommand.php
src/Application/Command/AbstractEntityCreateCommand.php
+0
-2
src/Application/Command/AbstractEntityDeleteCommand.php
src/Application/Command/AbstractEntityDeleteCommand.php
+0
-2
src/Application/Command/AbstractEntityUpdateCommand.php
src/Application/Command/AbstractEntityUpdateCommand.php
+0
-2
src/Application/Command/EventCommandTrait.php
src/Application/Command/EventCommandTrait.php
+0
-28
No files found.
src/Application/Command/AbstractEntityCreateCommand.php
View file @
fa9b2e3f
...
...
@@ -11,8 +11,6 @@ use ServiceCore\Infrastructure\Service\GuidGenerator;
*/
abstract
class
AbstractEntityCreateCommand
implements
CommandInterface
{
use
EventCommandTrait
;
/**
* @var string
*/
...
...
This diff is collapsed.
Click to expand it.
src/Application/Command/AbstractEntityDeleteCommand.php
View file @
fa9b2e3f
...
...
@@ -11,8 +11,6 @@ use ServiceCore\Infrastructure\Service\GuidGenerator;
*/
abstract
class
AbstractEntityDeleteCommand
implements
CommandInterface
{
use
EventCommandTrait
;
/**
* @var string
*/
...
...
This diff is collapsed.
Click to expand it.
src/Application/Command/AbstractEntityUpdateCommand.php
View file @
fa9b2e3f
...
...
@@ -11,8 +11,6 @@ use ServiceCore\Infrastructure\Service\GuidGenerator;
*/
abstract
class
AbstractEntityUpdateCommand
implements
CommandInterface
{
use
EventCommandTrait
;
/**
* @var string
*/
...
...
This diff is collapsed.
Click to expand it.
src/Application/Command/EventCommandTrait.php
deleted
100644 → 0
View file @
1da6c786
<?php
namespace
ServiceCore\Application\Command
;
/**
* Trait EventCommandTrait
*
* @package ServiceCore\Application\Command
*/
trait
EventCommandTrait
{
protected
$eventsStopped
=
false
;
public
function
stopEventsPropagation
():
void
{
$this
->
eventsStopped
=
true
;
}
public
function
resumeEventsPropagation
():
void
{
$this
->
eventsStopped
=
false
;
}
public
function
eventsStopped
():
bool
{
return
$this
->
eventsStopped
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help