@@ -0,0 +1,9 @@
+<?php
+
+namespace DeviceBundle;
+use Symfony\Component\HttpKernel\Bundle\Bundle;
+class DeviceBundle extends Bundle
+{
+}
@@ -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 }
<?php
-namespace ValidatorsBundle\Validator\Constraints;
+namespace DeviceBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
@@ -1,9 +0,0 @@
-<?php
-
-namespace ValidatorsBundle;
-use Symfony\Component\HttpKernel\Bundle\Bundle;
-class ValidatorsBundle extends Bundle
-{
-}
@@ -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",