This file contains 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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
"Plugin 'tpope/vim-fugitive' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'Shougo/neocomplete.vim' |
This file contains 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 | |
// ----------- This is a method part of the Order entity, located in Order.php --------------- | |
/** | |
* Rejects all attributes with the provided code from the order. | |
* | |
* @param string $code | |
*/ | |
public function rejectAttribute($code) | |
{ | |
$this->attributes = $this->attributes->filter(function ($attribute) use ($code) { |
This file contains 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 Framework\Bus; | |
use Interop\Container\ContainerInterface; | |
final class BasicCommandBus implements CommandBusInterface | |
{ | |
/** |
This file contains 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
{% extends '@shared/layouts/print-layout.html.twig' %} | |
{% block css %} | |
<link href="{{ cssLink('printv2') }}" rel="stylesheet" type="text/css"/> | |
{% endblock %} | |
{% block content %} | |
<table width="100%"> | |
<tr> | |
<td><img src="{{ img('logo_sdp.png') }}" style="width:180px"/></td> |