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 Pmsipilot\TestBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand, | |
Symfony\Component\HttpKernel\Util, | |
Symfony\Component\Console\Input\InputArgument, | |
Symfony\Component\Console\Input\InputOption, | |
Symfony\Component\Console\Input\InputInterface, | |
Symfony\Component\Console\Input\ArrayInput, |
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 | |
class FusionArrayFormatter extends PropelFormatter | |
{ | |
/** | |
* @param PDOStatement $stmt | |
* @return array | |
*/ | |
public function format(PDOStatement $stmt) | |
{ |
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 | |
/** | |
* @When /^I add a resource on "([^"]*)" with:$/ | |
*/ | |
public function iAddAResourceOnWith($resource, TableNode $data) | |
{ | |
$json = $this->getJsonFromTableNode($data); | |
$url = $this->getUrlFromResource($resource); | |
return array( |
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
{ | |
"require": { | |
"behat/mink": "*", | |
"fabpot/goutte": "*", | |
"alexandresalome/php-selenium": "*", | |
"facebook/php-webdriver": "*", | |
"behat/sahi-client": "*" | |
}, |
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
Scenario Outline: Video Raoul | |
Given I am connected on "sitevideo.com" | |
Then I check the <nth-video> video in my xml file "raoul.xml" | |
Examples: | |
| nth-video | | |
| 1 | | |
| 2 | | |
| 3 | |
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
appDevDebugProjectContainer:Containerobject(Symfony\Component\DependencyInjection\Definition)#1846 (14) { | |
["class":"Symfony\Component\DependencyInjection\Definition":private]=> | |
string(48) "Symfony\Bridge\Doctrine\Mapping\Driver\XmlDriver" | |
["file":"Symfony\Component\DependencyInjection\Definition":private]=> | |
NULL | |
["factoryClass":"Symfony\Component\DependencyInjection\Definition":private]=> | |
NULL | |
["factoryMethod":"Symfony\Component\DependencyInjection\Definition":private]=> | |
NULL | |
["factoryService":"Symfony\Component\DependencyInjection\Definition":private]=> |
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 | |
class SomeObject | |
{ | |
use \FooTraits\SomeTrait; | |
public function getSomeRequiredParameter() | |
{ | |
return 'foo'; | |
} |
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
{% macro recursiveCategory(category) %} | |
<li> | |
<h4><a href="{{ path(category.route, category.routeParams) }}">{{ category }}</a></h4> | |
{% if category.children|length %} | |
<ul> | |
{% for child in category.children %} | |
{{ _self.recursiveCategory(child) }} | |
{% endfor %} | |
</ul> |
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 Tentacode\Foobar\UserBundle\Twig; | |
use Twig_Extension; | |
use Twig_Function_Method; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\Security\Http\AccessMap; |
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
~$ apachectl -t | |
httpd: Syntax error on line 118 of /private/etc/apache2/httpd.conf: Cannot load /usr/local/Cellar/php54/5.4.0/libexec/apache2/libphp5.so into server: dlopen(/usr/local/Cellar/php54/5.4.0/libexec/apache2/libphp5.so, 10): Symbol not found: _environ\n Referenced from: /usr/local/Cellar/php54/5.4.0/libexec/apache2/libphp5.so\n Expected in: /usr/sbin/httpd\n in /usr/local/Cellar/php54/5.4.0/libexec/apache2/libphp5.so | |
~$ brew install php54 --with-mysql --with-intl --with-debug | |
==> Downloading http://www.php.net/get/php-5.4.8.tar.bz2/from/this/mirror | |
Already downloaded: /Library/Caches/Homebrew/php54-5.4.8 | |
Warning: Backing up all known pear.conf and .pearrc files | |
Warning: If you have a pre-existing pear install outside | |
of homebrew-php, or you are using a non-standard | |
pear.conf location, installation may fail. |
OlderNewer