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
{ | |
"info": { | |
"_postman_id": "42ea1923-5e5b-4f34-905c-2dbd4aeb8f87", | |
"name": "BPGCOM-EXT", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "post_user_api", | |
"request": { |
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
# In all environments, the following files are loaded if they exist, | |
# the later taking precedence over the former: | |
# | |
# * .env contains default values for the environment variables needed by the app | |
# * .env.local uncommitted file with local overrides | |
# * .env.$APP_ENV committed environment-specific defaults | |
# * .env.$APP_ENV.local uncommitted environment-specific overrides | |
# | |
# Real environment variables win over .env files. | |
# |
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
{ | |
"type": "project", | |
"license": "proprietary", | |
"require": { | |
"php": "^7.2.15", | |
"ext-ctype": "*", | |
"ext-iconv": "*", | |
"asprega/breadcrumb-bundle": "^0.2.0", | |
"doctrine/doctrine-fixtures-bundle": "^3.1", | |
"friendsofsymfony/jsrouting-bundle": "^2.3", |
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 App\Service; | |
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; | |
use Symfony\Component\Validator\Constraints\Type; | |
class ContainerParametersHelper { | |
private $params; |
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 | |
/** | |
* Created by PhpStorm. | |
* User: mchehimi | |
* Date: 07/05/19 | |
* Time: 17:02 | |
*/ | |
namespace App\Doctrine; |
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
<script> | |
function arabicValue(txt, disabled) { | |
let yas = txt.value; | |
yas = yas.replace(/`/g, "ذ"); | |
yas = yas.replace(/0/g, "۰"); | |
yas = yas.replace(/1/g, "1"); | |
yas = yas.replace(/2/g, "2"); | |
yas = yas.replace(/3/g, "3"); | |
yas = yas.replace(/4/g, "4"); | |
yas = yas.replace(/5/g, "5"); |
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 AppBundle\Service; | |
use AppBundle\AppBundle; | |
use AppBundle\Entity\User; | |
use Doctrine\ORM\EntityManager; | |
use Symfony\Component\HttpFoundation\Request; | |
class UserService |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
.dropbtn { | |
background-color: #4CAF50; | |
color: white; | |
padding: 16px; | |
font-size: 16px; |
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 | |
/** | |
* Created by PhpStorm. | |
* User: mchehimi | |
* Date: 28/04/19 | |
* Time: 03:29 | |
*/ | |
namespace App\Service; |
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
#Autre exemple avec un tableau composé | |
$things = [ | |
[ | |
'foo' => 5.5, | |
'bar' => 'abc' | |
], | |
[ | |
'foo' => 7.7, | |
'bar' => 'xyz' |
NewerOlder