-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added 8 kernel events * All events class tested * Fixed some CS * Updated documentation and added Events docu * Added phpunit definition file
- Loading branch information
Showing
37 changed files
with
1,274 additions
and
112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,4 @@ coverage | |
composer.lock | ||
vendor | ||
composer.phar | ||
phpcs.lo | ||
phpcs.log |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event\Abstracts; | ||
|
||
use Symfony\Component\EventDispatcher\Event; | ||
use GearmanTask; | ||
|
||
|
||
/** | ||
* AbstractGearmanClientTaskEvent | ||
*/ | ||
abstract class AbstractGearmanClientTaskEvent extends Event | ||
{ | ||
|
||
/** | ||
* @var GearmanTask | ||
* | ||
* Gearman task object | ||
*/ | ||
protected $gearmanTask; | ||
|
||
|
||
/** | ||
* Construct method | ||
* | ||
* @param GearmanTask $gearmanTask Gearman Task | ||
*/ | ||
public function __construct(\GearmanTask $gearmanTask) | ||
{ | ||
$this->gearmanTask = $gearmanTask; | ||
} | ||
|
||
|
||
/** | ||
* Get Gearman Task | ||
* | ||
* @return GearmanTask Gearman Task | ||
*/ | ||
public function getGearmanTask() | ||
{ | ||
return $this->gearmanTask; | ||
} | ||
} |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
use Mmoreram\GearmanBundle\Event\Abstracts\AbstractGearmanClientTaskEvent; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackCompleteEvent | ||
*/ | ||
class GearmanClientCallbackCompleteEvent extends AbstractGearmanClientTaskEvent | ||
{ | ||
|
||
} |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
use Mmoreram\GearmanBundle\Event\Abstracts\AbstractGearmanClientTaskEvent; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackCreatedEvent | ||
*/ | ||
class GearmanClientCallbackCreatedEvent extends AbstractGearmanClientTaskEvent | ||
{ | ||
|
||
} |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
use Mmoreram\GearmanBundle\Event\Abstracts\AbstractGearmanClientTaskEvent; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackDataEvent | ||
*/ | ||
class GearmanClientCallbackDataEvent extends AbstractGearmanClientTaskEvent | ||
{ | ||
|
||
} |
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,18 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackExceptionEvent | ||
*/ | ||
class GearmanClientCallbackExceptionEvent | ||
{ | ||
|
||
} |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
use Mmoreram\GearmanBundle\Event\Abstracts\AbstractGearmanClientTaskEvent; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackFailEvent | ||
*/ | ||
class GearmanClientCallbackFailEvent extends AbstractGearmanClientTaskEvent | ||
{ | ||
|
||
} |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
use Mmoreram\GearmanBundle\Event\Abstracts\AbstractGearmanClientTaskEvent; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackStatusEvent | ||
*/ | ||
class GearmanClientCallbackStatusEvent extends AbstractGearmanClientTaskEvent | ||
{ | ||
|
||
} |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
use Mmoreram\GearmanBundle\Event\Abstracts\AbstractGearmanClientTaskEvent; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackWarningEvent | ||
*/ | ||
class GearmanClientCallbackWarningEvent extends AbstractGearmanClientTaskEvent | ||
{ | ||
|
||
} |
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,20 @@ | ||
<?php | ||
|
||
/** | ||
* RSQueueBundle for Symfony2 | ||
* | ||
* Marc Morera 2013 | ||
*/ | ||
|
||
namespace Mmoreram\GearmanBundle\Event; | ||
|
||
use Mmoreram\GearmanBundle\Event\Abstracts\AbstractGearmanClientTaskEvent; | ||
|
||
|
||
/** | ||
* GearmanClientCallbackWorkloadEvent | ||
*/ | ||
class GearmanClientCallbackWorkloadEvent extends AbstractGearmanClientTaskEvent | ||
{ | ||
|
||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.