I hereby claim:
- I am graceman9 on github.
- I am gm9 (https://keybase.io/gm9) on keybase.
- I have a public key ASDdlUqgJ03sh8MIyv2jD2PnjqQ6eCtXu-qJo7pwaWLTpAo
To claim this, I am signing this object:
<?php | |
class Product | |
{ | |
public function __construct( | |
private string $name, | |
private float $price, | |
private string $color, | |
) { | |
} |
version: '3.7' | |
services: | |
php-fpm: | |
build: docker | |
container_name: 'php' | |
ports: | |
- '9001:9001' | |
volumes: |
<?php | |
namespace App\Doctrine\Type; | |
use Doctrine\DBAL\Platforms\AbstractPlatform; | |
use Doctrine\DBAL\Types\ConversionException; | |
use Doctrine\DBAL\Types\Type; | |
class AtomDateTimeType extends Type | |
{ |
<?php | |
/** Display JSON values as table in edit | |
* @link https://www.adminer.org/plugins/#use | |
* @author Jakub Vrana, https://www.vrana.cz/ | |
* @author Martin Zeman (Zemistr), http://www.zemistr.eu/ | |
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 | |
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other) | |
*/ | |
class AdminerJsonColumn { |
<?php | |
/** | |
* @file | |
* | |
* Very simple logger, log to console.log(). | |
*/ | |
namespace App; |
name: simple-mysql-with-phpmyadmin | |
services: | |
database: | |
type: mysql | |
portforward: true | |
pma: | |
type: phpmyadmin | |
hosts: | |
- database | |
tooling: |
I hereby claim:
To claim this, I am signing this object:
<?php | |
require_once 'template.theme_webform.inc'; | |
/** | |
* Implements hook_preprocess_HOOK(), form. | |
*/ | |
function web_preprocess_webform_form(&$variables) { | |
if ($variables['form']['#form_id'] == 'webform_client_form_72') { | |
$form = &$variables['form']; |
openserver, xdebug, xcallgraph | |
xdebug.profiler_enabled=1 |
<?php | |
/** | |
* Drupal 7 create node programmatically. | |
* | |
* @see https://www.drupal.org/node/1173136, important! - read comments below post. | |
* | |
* also @see http://www.lightrains.com/blog/programmatically-create-node-drupal-7, better explanation. | |
* also @see http://fooninja.net/2011/04/13/guide-to-programmatic-node-creation-in-drupal-7/ | |
*/ |