فهرست منبع

Se renombro el bundle

Guillermo Espinoza 8 سال پیش
والد
کامیت
58393337ba
6فایلهای تغییر یافته به همراه17 افزوده شده و 17 حذف شده
  1. 9 0
      DeviceBundle.php
  2. 2 2
      Resources/config/services.yml
  3. 1 1
      Validator/Constraints/Device.php
  4. 1 1
      Validator/Constraints/DeviceValidator.php
  5. 0 9
      ValidatorsBundle.php
  6. 4 4
      composer.json

+ 9 - 0
DeviceBundle.php

@@ -0,0 +1,9 @@
+<?php
+
+namespace DeviceBundle;
+
+use Symfony\Component\HttpKernel\Bundle\Bundle;
+
+class DeviceBundle extends Bundle
+{
+}

+ 2 - 2
Resources/config/services.yml

@@ -1,6 +1,6 @@
 services:
-    validators.device_validator:
-        class: ValidatorsBundle\Validator\Constraints\DeviceValidator
+    device.device_validator:
+        class: DeviceBundle\Validator\Constraints\DeviceValidator
         arguments: ["@webservice","%device_check_url%"]
         tags:
             - { name: validator.constraint_validator }

+ 1 - 1
Validator/Constraints/Device.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace ValidatorsBundle\Validator\Constraints;
+namespace DeviceBundle\Validator\Constraints;
 
 use Symfony\Component\Validator\Constraint;
 

+ 1 - 1
Validator/Constraints/DeviceValidator.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace ValidatorsBundle\Validator\Constraints;
+namespace DeviceBundle\Validator\Constraints;
 
 use Symfony\Component\Validator\Constraint;
 use Symfony\Component\Validator\ConstraintValidator;

+ 0 - 9
ValidatorsBundle.php

@@ -1,9 +0,0 @@
-<?php
-
-namespace ValidatorsBundle;
-
-use Symfony\Component\HttpKernel\Bundle\Bundle;
-
-class ValidatorsBundle extends Bundle
-{
-}

+ 4 - 4
composer.json

@@ -1,14 +1,14 @@
 {
-    "name": "ik/validators-bundle",
-    "description": "Flowdat 3 Validators Bundle",
+    "name": "ik/device-bundle",
+    "description": "Flowdat 3 Device Bundle",
     "keywords": ["Admin Generator", "admin", "validators", "bundle"],
     "autoload": {
-        "psr-4": { "ValidatorsBundle\\": "" }
+        "psr-4": { "DeviceBundle\\": "" }
     },
     "repositories": [
         {
             "type": "vcs",
-            "url": "ssh://git@infra.flowdat.com:222/VendorSoftwareFlowdat3/ValidatorsBundle.git"
+            "url": "ssh://git@infra.flowdat.com:222/VendorSoftwareFlowdat3/DeviceBundle.git"
         }
     ],
     "version": "1.0",