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
$.when( | |
that._transition(data.context) | |
).done(function () { | |
//ajax - make deferred | |
data.submit | |
}); |
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
Internal Server Error | Symfony\Component\Debug\Exception\ContextErrorException [message] Warning: proc_close(): 207 is not a valid process resource in ../vendor/symfony/symfony/src/Symfony/Component/Process/Process.php line 319 |
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
"jackalope/jackalope-doctrine-dbal": "dev-master", | |
"symfony-cmf/block-bundle": "dev-master", | |
"symfony-cmf/content-bundle": "dev-master", | |
"symfony-cmf/routing-auto-bundle": "dev-master" |
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
protected function getAwsS3Service() | |
{ | |
return $this->services['aws_s3'] = call_user_func(array('Aws\\S3\\S3Client', 'factory'), 'secret', 'key'); | |
} |
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
"source": { | |
"type": "git", | |
"url": "[email protected]:oste/Bundle.git", | |
"reference": "7a2970a355c4a9b408547c86118b97d8f09c2899" | |
}, |
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
** [out :: domain.com] Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos | |
** [out :: domain.com] The credentials will be swapped for an OAuth token stored in /root/.composer/config.json, your password will not be stored | |
** [out :: domain.com] To revoke access to this token you can visit https://github.com/settings/applications |
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
/** | |
* @ORM\Table(name="post") | |
* @ORM\Entity | |
*/ | |
class Post | |
{ | |
/** | |
* @ORM\ManyToMany(targetEntity="Category", inversedBy="posts") | |
* @ORM\JoinTable(name="post_categories_rel") | |
*/ |
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
$qb->andWhere($qb->expr()->orX( | |
$qb->expr()->like('m.extension', '?1'), | |
$qb->expr()->like('m.name', '?1') | |
)); | |
$qb->setParameters([ 1 => "%$value%"]); |
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 CommentBundle\Event; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\Form\FormEvents; | |
use Symfony\Component\Form\FormEvent; | |
class CommentFormSubscriber implements EventSubscriberInterface | |
{ | |
public function form(FormEvent $event) |
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
{ | |
"name": "symfony/framework-standard-edition", | |
"description": "The \"Symfony Standard Edition\" distribution", | |
"autoload": { | |
"psr-0": { "": "src/" } | |
}, | |
"require": { | |
"php": ">=5.3.3", | |
"symfony/symfony": "2.2.*", | |
"doctrine/orm": "~2.2,>=2.2.3", |
NewerOlder