-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
git push -o merge_request.create -o merge_request.merge_when_pipeline_succeeds -o merge_request.target_branch=staging |
La fonction pluck() retourne un tableau associatif par exemple: $eleves->pluck('nom', 'premon','id') | |
va retourner un tableau dont le prenom comme cle et nom comme valeur, donc sans prendre en compte le champ id | |
C'est mieux d'utiliser select dans ce cas: | |
DB::table('eleves') | |
->where('class_id', request('class_id')) | |
->select('nom', 'prenom', 'id') | |
->get() | |
.PHONY: up start stop down ws redis | |
DOCKER_COMPOSER_CONTAINERS = nginx mysql redis php-worker | |
up: | |
cd laradock && \ | |
docker-compose up -d ${DOCKER_COMPOSER_CONTAINERS} | |
start: | |
cd laradock && \ |