Skip to content

Instantly share code, notes, and snippets.

Thomas Löffler spoonerWeb

Block or report user

Report or block spoonerWeb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@garbast
garbast / .gitlab-ci.yml
Created Mar 8, 2019
Deployment with deployerphp and gitlabci
View .gitlab-ci.yml
cache:
paths:
- $CI_PROJECT_DIR/cache
- $CI_PROJECT_DIR/vendor
- $CI_PROJECT_DIR/.Build/vendor
stages:
- composer
- deploy
@einpraegsam
einpraegsam / datamappingExtbase.php
Last active Nov 26, 2019
Use DataMapper class in TYPO3 to convert an array into an object
View datamappingExtbase.php
public function mapProperties(): AnyModel
{
$properties = [
'uid' => 123,
'pid' => 123,
'firstname' => 'Alex',
'lastname' => 'Kellner'
'email' => 'my@email.org'
];
$dataMapper = $this->objectManager->get(TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper::class);
@cedricziel
cedricziel / FacebookVideoHelper.php
Created Oct 7, 2016 — forked from spoonerWeb/FacebookVideoHelper.php
Facebook video integration in TYPO3 (needs some love for FE rendering)
View FacebookVideoHelper.php
<?php
namespace Vendor\ExtensionKey\Helpers;
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
You can’t perform that action at this time.