This file contains hidden or 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
parameters: | |
fos_comment.markup: fos_comment.markup.test | |
services: | |
fos_comment.markup.test: | |
class: FOS\CommentBundle\Markup\HtmlPurifier | |
arguments: [ @exercise_html_purifier.default ] |
This file contains hidden or 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 User | |
{ | |
// ... | |
/** | |
* @ORM\OneToMany(targetEntity="UserAddress", mappedBy="user", orphanRemoval=true, cascade={"persist"}) | |
* @var \Doctrine\Common\Collections\ArrayCollection | |
*/ |
This file contains hidden or 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 Ibms\UserBundle\Form\Type; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\Extension\Core\Type\TextType; | |
use Symfony\Component\Form\FormBuilder; | |
class DisableType extends AbstractType | |
{ |
This file contains hidden or 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
server { | |
listen 80 default_server; | |
server_name .localhost; | |
charset utf-8; | |
root /Users/tim/Sites/$host/web; | |
try_files $uri $uri/ /app_dev.php?$args; | |
location ~ \.php$ { |
This file contains hidden or 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
<service id="ibms_part.form_type.sku_type" class="Ibms\PartBundle\Form\Type\SkuType"> | |
<argument type="service" id="doctrine.orm.entity_manager" /> | |
<tag name="form.type" alias="ibms_part_sku" /> | |
</service> |
This file contains hidden or 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 Ibms\UserBundle\Form\Type; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\Extension\Core\Type\TextType; | |
use Symfony\Component\Form\FormBuilder; | |
class UserType extends AbstractType | |
{ |
This file contains hidden or 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 Ibms\InventoryBundle\Form\Type; | |
use Doctrine\ORM\EntityRepository; | |
use Ibms\InventoryBundle\Entity\Warehouse; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\Extension\Core\Type\TextType; | |
use Symfony\Component\Form\FormBuilder; |
This file contains hidden or 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
public function getId() | |
{ | |
if ($this->__isInitialized__ === false) { | |
return (int) $this->_identifier["id"]; | |
} | |
$this->__load(); | |
return parent::getId(); | |
} |
This file contains hidden or 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 Infinite\Helper\Twig; | |
use Doctrine\Common\Util\Debug as DoctrineDebug; | |
class Debug extends \Twig_Extension | |
{ | |
/** | |
* Returns a list of global functions to add to the existing list. |
This file contains hidden or 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 Infinite\BookingBundle\Form\Model; | |
use Infinite\BookingBundle\Entity\Resource; | |
class ResourceWrapper | |
{ | |
protected $resource; | |
public $baseAvailability = array(); |