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
security: | |
encoders: | |
App\Entity\User: | |
algorithm: sha512 | |
providers: | |
api_user_provider: | |
entity: | |
class: App\Entity\User | |
property: username |
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
lexik_jwt_authentication: | |
private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%' | |
public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%' | |
pass_phrase: '%env(JWT_PASSPHRASE)%' | |
token_ttl: '%env(JWT_TOKENTTL)%' | |
encoder: | |
service: lexik_jwt_authentication.encoder.lcobucci | |
signature_algorithm: RS512 |
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
<?php | |
/** | |
* Task.php | |
* | |
* Task Entity | |
* | |
* @category Entity | |
* @package MyKanban | |
* @author Francisco Ugalde |
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
<?php | |
/** | |
* Board.php | |
* | |
* Board Entity | |
* | |
* @category Entity | |
* @package MyKanban | |
* @author Francisco Ugalde |
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
<?php | |
/** | |
* User.php | |
* | |
* User Entity | |
* | |
* @category Entity | |
* @package MyKanban | |
* @author Francisco Ugalde |
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
<?php | |
require_once "Threading/ThreadManager.php"; | |
require_once "Threading/Task/BaseTask.php"; | |
require_once "Threading/Task/Task.php"; | |
$maxThreads = 5; | |
$pushNotifications = 30; | |
echo 'Ejemplo de forking de procesos con PHP con un máximo de ' . $maxThreads . ' hilos' . PHP_EOL . PHP_EOL; |
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
<?php | |
namespace Threading; | |
use Threading\Task\BaseTask as AbstractTask; | |
/** | |
* Multi-thread / task manager | |
*/ |
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
<?php | |
namespace Threading\Task; | |
/** | |
* Clase Task | |
*/ | |
class Task extends BaseTask | |
{ |
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
<?php | |
namespace Threading\Task; | |
/** | |
* Clase abstracta de una tarea base la cual es heradada por todas las tareas | |
*/ | |
abstract class BaseTask | |
{ |
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
{ | |
"took": 7, | |
"timed_out": false, | |
"_shards": { | |
"total": 5, | |
"successful": 5, | |
"skipped": 0, | |
"failed": 0 | |
}, | |
"hits": { |