I hereby claim:
- I am ndzoesch on github.
- I am ndzoesch (https://keybase.io/ndzoesch) on keybase.
- I have a public key whose fingerprint is D794 8D15 EFAD F8FE 6512 CD5E 4C1C B6AA 6683 358C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php declare(strict_types=1); | |
namespace Shopware\Core\Checkout\Customer\SalesChannel; | |
// SHORTENED FOR READABILITY; | |
// SEE THE LINK ABOVE FOR FULL SOURCE | |
/** | |
* @RouteScope(scopes={"store-api"}) | |
*/ |
<?php declare(strict_types=1); | |
namespace Shopware\Core\Checkout\Customer\SalesChannel; | |
use Shopware\Core\Checkout\Customer\CustomerEntity; | |
use Shopware\Core\System\SalesChannel\StoreApiResponse; | |
class CustomerResponse extends StoreApiResponse | |
{ | |
/** |
{ | |
"includes": { | |
"product": [ | |
"id", | |
"name", | |
"price" | |
], | |
"price": [ | |
"net", | |
"gross" |
{ | |
"name": "Mediocre Bronze PowerPrint", | |
"id": "053855fc722e4bc4805a6790a835daa0", | |
"price": [ | |
{ | |
"net": 602.8037383177569, | |
"gross": 645, | |
"apiAlias": "price" | |
} | |
], |
#!/usr/bin/env bash | |
TTY: docker exec -i --env COLUMNS=`tput cols` --env LINES=`tput lines` -u __USERKEY__ -t __APP_ID__ zsh |
FROM webdevops/php-apache:7.2 | |
COPY wait-for-it.sh /usr/local/bin/ | |
ENV COMPOSER_HOME=/.composer | |
ENV NPM_CONFIG_CACHE=/.npm | |
ENV WEB_DOCUMENT_ROOT=/app/public | |
ARG USER_ID | |
ARG GROUP_ID |
const { join, resolve } = require('path'); | |
module.exports = () => { | |
return { | |
resolve: { | |
alias: { | |
'@missionlog': resolve( | |
join(__dirname, '..', 'node_modules', 'missionlog') | |
) | |
} | |
} |
import Plugin from 'src/plugin-system/plugin.class'; | |
// Importing our package | |
import { log, tag } from '@missionlog'; | |
export default class ExamplePlugin extends Plugin { | |
init() { | |
log.info(tag.system, 'example plugin initialized', this); | |
} | |
} |