This file contains hidden or 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 common\models\helpers\queue; | |
use common\models\Product; | |
use yii\base\BaseObject; | |
use yii\queue\JobInterface; | |
/** | |
* This is the model create job in the queue |
This file contains hidden or 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 common\models\helpers\queue; | |
use Yii; | |
use yii\base\Behavior; | |
use yii\queue\Queue; | |
class CurrentJobBehavior extends Behavior | |
{ | |
public $current; |
This file contains hidden or 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
# | |
# File is "indented" using multiple of 4 spaces | |
# | |
# Specify the docker image to use (only used if using docker runners) | |
# See: http://doc.gitlab.com/ee/ci/docker/using_docker_images.html | |
# From https://hub.docker.com/r/kaffineaddict/gitlabcakephp3/ - we could use image: kaffineaddict/gitlabcakephp3 | |
image: php:7.2 | |
# The docker services to configure | |
# See: http://doc.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-service |