Skip to content

Instantly share code, notes, and snippets.

ssh [email protected]
[email protected]'s password:
Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-17-generic i686)
* Documentation: https://help.ubuntu.com/
Last login: Thu Mar 14 04:19:46 2013 from 75-169-63-34.slkc.qwest.net
bash: groups: command not found
I have no name!@host:~$
####################################################################################
$builder
->add('firstName', 'text', array(
'label' => 'First Name',
'required' => false))
->add('middleName', 'text', array(
'label' => 'Middle Name',
'required' => false))
->add('lastName', 'text', array(
{# Widgets #}
{% block form_widget %}
{% spaceless %}
<fieldset {{ block('widget_container_attributes') }}>
{{ block('field_rows') }}
{{ form_rest(form) }}
</fieldset>
{% endspaceless %}
{% endblock form_widget %}
jms_security_extra:
secure_all_services: false
expressions: true
security:
encoders:
Symfony\Component\Security\Core\User\User:
algorithm: sha1
iterations: 1
encode_as_base64: false
jms_security_extra:
secure_all_services: false
expressions: true
security:
encoders:
Symfony\Component\Security\Core\User\User: sha512
Fm\AdminBundle\Entity\Admins: sha512
fos_user:
db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
firewall_name: main
user_class: Fm\AdminBundle\Entity\Users
jms_security_extra:
secure_all_services: false
expressions: true
security:
encoders:
Symfony\Component\Security\Core\User\User: plaintext
FOS\UserBundle\Model\UserInterface: sha512
role_hierarchy:
jms_security_extra:
secure_all_services: false
expressions: true
security:
encoders:
Symfony\Component\Security\Core\User\User: plaintext
FOS\UserBundle\Model\UserInterface: sha512
role_hierarchy:
public function assignCaseManagerAction($id) {
$em = $this->getDoctrine()->getManager();
$customer = $this->getCustomer($id);
$request = $this->getRequest();
if (!$customer) {
throw $this->createNotFoundException('Unable to find Customer entity.');
}
/**
* Adds support for magic finders.
*
* @return array|object The found entity/entities.
* @throws BadMethodCallException If the method called is an invalid find* method
* or no find* method at all and therefore an invalid
* method call.
*/
public function __call($method, $arguments)
{