2017 © Pedro Peláez
 

symfony-bundle view-bundle

Integrate shopery/view in your symfony application

image

shopery/view-bundle

Integrate shopery/view in your symfony application

  • Thursday, June 23, 2016
  • by xphere
  • Repository
  • 5 Watchers
  • 0 Stars
  • 3,334 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 6 % Grown

The README.md

shopery/view-bundle

Integrates shopery/view into your Symfony projects., (*1)

Installation

You can install this library:, (*2)

And add the bundle to your kernel as usual., (*3)

If you have any trouble, please refer to the symfony docs., (*4)

Factories

This bundle defines a service named view_factory which can be injected as a dependency., (*5)

This class implements Shopery\View\ViewFactory and has a createView method., (*6)

Tag any service with view_factory to register it as a factory for a given object., (*7)

services:

    my_view_factory_for_products:
        class: ...
        arguments: ...
        tags:
            - { name: view_factory, class: Acme\Product }

So whenever you pass an Acme\Product to view_factory::create_view, your factory is run., (*8)

Extensions

Multiple view extensions can be defined as services and tagged with the view_factory.extension tag., (*9)

This services must implement Shopery\View\Extension\ViewExtension., (*10)

The Versions

23/06 2016

dev-master

9999999-dev

Integrate shopery/view in your symfony application

  Sources   Download

MIT

The Requires

 

by Berny Cantos

23/06 2016

v1.2

1.2.0.0

Integrate shopery/view in your symfony application

  Sources   Download

MIT

The Requires

 

by Berny Cantos

29/03 2016

v1.1

1.1.0.0

Integrate shopery/view in your symfony application

  Sources   Download

MIT

The Requires

 

by Berny Cantos

24/03 2016

v1.0

1.0.0.0

Integrate shopery/view in your symfony application

  Sources   Download

MIT

The Requires

 

by Berny Cantos