Moved here: https://github.com/webmozart/composer-resource-plugin
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 | |
use Symfony\Component\PropertyAccess\PropertyAccess; | |
use Symfony\Component\Validator\Constraints\All; | |
use Symfony\Component\Validator\Constraints\Choice; | |
use Symfony\Component\Validator\Constraints\Collection; | |
use Symfony\Component\Validator\Constraints\Length; | |
use Symfony\Component\Validator\Constraints\NotBlank; | |
use Symfony\Component\Validator\Constraints\Optional; | |
use Symfony\Component\Validator\Constraints\Required; |
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 '::base.html.twig' %} | |
{% set active_section = 'goods' %} | |
{% use 'bootstrap_3_layout.html.twig' %} | |
{% block body -%} | |
<div class="page-header"> | |
<h1>Edit Good</h1> | |
</div> |
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
*PPD-Adobe: "4.3" | |
*% Adobe Systems PostScript(R) Printer Description File | |
*% Copyright 2009-2010 Xerox Corporation. | |
*FileVersion: "1.0" | |
*FormatVersion: "4.3" | |
*LanguageEncoding: ISOLatin1 | |
*LanguageVersion: English |
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 filter=subvars |
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
// Doctrine.Tests.ORM.Mapping.User.dcm.xml | |
<?xml version="1.0" encoding="UTF-8"?> | |
<map:class-mapping xmlns="http://doctrine-project.org/schemas/orm" | |
xmlns:map="http://doctrine-project.org/schemas/annotations/class-mapping"> | |
<map:class name="Doctrine\Tests\ORM\Mapping\User"> | |
<entity table="cms_users" /> | |
<indexes> | |
<index name="name_idx" columns="name"/> |
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
#!/bin/bash | |
COMMIT=$1 | |
BRANCH=$2 | |
if [ -z $BRANCH ]; then | |
BRANCH="master" | |
fi | |
perl -ne 'print if ($seen{$_} .= @ARGV) =~ /10$/' \ | |
<(git rev-list --ancestry-path --oneline $COMMIT..$BRANCH) \ |
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
class MoneyType extends AbstractType implements DataMapperInterface | |
{ | |
public function buildForm(FormBuilder $builder, array $options) | |
{ | |
$builder | |
->add('amount', 'integer') | |
->add('currency', 'string') | |
->setDataMapper($this) | |
; | |
} |
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 | |
use Symfony\Component\Form\Forms; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Symfony\Component\Form\FormEvent; | |
use Symfony\Component\Form\FormEvents; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
class ApplicationFormType extends AbstractType |
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
function get(path) | |
{ | |
if ('undefined' != typeof cache[path]) { | |
return cache[path] | |
} | |
cache[path] = new Resource(getTarget(path)) | |
return cache[path] | |
} |
NewerOlder