定制 imatic/view-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

imatic/view-bundle

最新稳定版本:v5.1.4

Composer 安装命令:

composer require imatic/view-bundle

包简介

Bundle with predefined UI components

README 文档

README

Build Status
License: MIT

ImaticViewBundle

See Resources/doc/index.rst for documentation.

Build Process

In case any asset sources are changed run yarn build command which will compile them. Any compiled assets are commited with project. Build process is provided by standard webpack configuration. More details can be found in webpack.config.js.

Extending ExpressionLanguage

Bundle ExpressionLanguage can be extended easily extended. To do so, you can create a new expression provider tagged with imatic_view.expression_language_provider.

 use Symfony\Component\ExpressionLanguage\ExpressionFunction;
 use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface;

<?php

 class ExpressionLanguageProvider implements ExpressionFunctionProviderInterface
 {
     public function getFunctions()
     {
         return [
             new ExpressionFunction(
                 'myFunction',
                 function () {
                     // ...
                 },
                 function () {
                     // ...
                 }
             ),
         ];
     }
 }
services:
    ExpressionLanguageProvider:
        tags:
            - { name: imatic_view.expression_language_provider }

统计信息

  • 总下载量: 7.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-06