Skip to content

Commit 1139a61

Browse files
committed
Add comments
1 parent 72ff6a5 commit 1139a61

11 files changed

+34
-1
lines changed

src/Commands/WorkflowDumpCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Symfony\Component\Workflow\Workflow as SynfonyWorkflow;
1111
use Workflow;
1212

13+
/**
14+
* @author Boris Koumondji <brexis@yahoo.fr>
15+
*/
1316
class WorkflowDumpCommand extends Command
1417
{
1518
/**

src/Events/BaseEvent.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Symfony\Component\Workflow\Event\Event;
66

7+
/**
8+
* @author Boris Koumondji <brexis@yahoo.fr>
9+
*/
710
abstract class BaseEvent
811
{
912
/**

src/Events/EnterEvent.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Brexis\LaravelWorkflow\Events;
44

5+
/**
6+
* @author Boris Koumondji <brexis@yahoo.fr>
7+
*/
58
class EnterEvent extends BaseEvent
69
{
710
}

src/Events/GuardEvent.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Symfony\Component\Workflow\Event\GuardEvent as SymfonyGuardEvent;
66

7+
/**
8+
* @author Boris Koumondji <brexis@yahoo.fr>
9+
*/
710
class GuardEvent extends BaseEvent
811
{
912
public function __construct(SymfonyGuardEvent $event)

src/Events/LeaveEvent.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Brexis\LaravelWorkflow\Events;
44

5+
/**
6+
* @author Boris Koumondji <brexis@yahoo.fr>
7+
*/
58
class LeaveEvent extends BaseEvent
69
{
710
}

src/Events/TransitionEvent.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Brexis\LaravelWorkflow\Events;
44

5+
/**
6+
* @author Boris Koumondji <brexis@yahoo.fr>
7+
*/
58
class TransitionEvent extends BaseEvent
69
{
710
}

src/Events/WorkflowSubscriber.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
use Symfony\Component\Workflow\Event\GuardEvent as SymfonyGuardEvent;
77
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
88

9+
/**
10+
* @author Boris Koumondji <brexis@yahoo.fr>
11+
*/
912
class WorkflowSubscriber implements EventSubscriberInterface
1013
{
1114
public function guardEvent(SymfonyGuardEvent $event) {

src/Facades/WorkflowFacade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @author Boris Koumondji <brexis@yahoo.fr>
9+
*/
710
class WorkflowFacade extends Facade
811
{
912
protected static function getFacadeAccessor()
1013
{
1114
return 'workflow';
1215
}
13-
}
16+
}

src/Traits/WorkflowTrait.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Workflow;
66

7+
/**
8+
* @author Boris Koumondji <brexis@yahoo.fr>
9+
*/
710
trait WorkflowTrait
811
{
912
public function workflow_apply($transition, $workflow = null)

src/WorkflowRegistry.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
use Symfony\Component\Workflow\Transition;
1515
use Symfony\Component\Workflow\Workflow;
1616

17+
/**
18+
* @author Boris Koumondji <brexis@yahoo.fr>
19+
*/
1720
class WorkflowRegistry
1821
{
1922
/**

0 commit comments

Comments
 (0)