A set of symfony snippets for atom
Every snippets starts with 'sf', just type in sf and the list of available snippets will appear.
sfcommand : Backbone to create a ContainerAwareCommand
sfcommandAddA : Add Argument in configuration
sfcommandAddO : Add Option in configuration
sfcommandGetA : Get Argument in execute
sfcommandGetO : Get Option in execute
sfcommandO : Output line in execute
sfaction : Basic backbone of action
sfcontroller : Backbone to create a Controller
sfem : Getting entity manager
sfforward : Forwarding to another action
sfredirect : Redirecting to another route
sfrender : Rendering Template
sfrepo : Get Repository
sfrequest : Get Request
sfsession : Get Session
sfflash : Set Flash
sfbundleconf : Backbone to create a Bundle configuration class
sfbundleext : Backbone to create a Bundle extension class
These snippets work in xml and php :) yml to come
sfdoctrinefield : Simple field annotation
sfdoctrineid : Id field annotation
sfdoctrinemanytoone : ManyToOne mapping
sfdoctrineonetomany : OneToMany Mapping
sfdoctrineonetoone : OneToOne Mapping
sfdoctrinemanytomanyo : ManyToMany Owner Mapping
sfdoctrinemanytomanyi : ManyToMany Inverse Mapping
sfdoctrineentity : Entity Mapping
sfdatatransformer : Backbone to create a DataTransformer
sfform : Backbone to create a FormType
This snippet works in xml and yml :)
sftwigextension : Backbone to create a Twig Extension
sftwigaddfilters : Adding filters to a twig extension
sftwigaddfunctions : Adding functions to a twig extension
sftwigaddtests : Adding tests to a twig extension
sftwigaddglobals : Adding globals to a twig extension
sfform : Render form tag
sfformrow : Render form row tag
trans : Render trans tag
asset : Render asset tag
asseticcss : Render assetic css tag
asseticjs : Render assetic js tag
sfconstraintvalidator : Backbone to create a Constraint Validator
sfconstraint : Backbone to create a Constraint Validator
Enjoy ! :)
If you wish to contribute to this package :) you're very welcome :)
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.