Skip to content

Commit de80a9c

Browse files
committed
Initial commit
0 parents  commit de80a9c

File tree

8 files changed

+119
-0
lines changed

8 files changed

+119
-0
lines changed

.gitignore

Whitespace-only changes.

CheckdomainTeleCashBundle.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
namespace Checkdomain\TeleCashBundle;
4+
5+
use Symfony\Component\HttpKernel\Bundle\Bundle;
6+
7+
class CheckdomainTeleCashBundle extends Bundle
8+
{
9+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
namespace Checkdomain\TeleCashBundle\DependencyInjection;
4+
5+
use Symfony\Component\Config\FileLocator;
6+
use Symfony\Component\DependencyInjection\ContainerBuilder;
7+
use Symfony\Component\DependencyInjection\Loader;
8+
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
9+
10+
/**
11+
* Class CheckdomainTeleCashExtension
12+
*/
13+
class CheckdomainTeleCashExtension extends Extension
14+
{
15+
16+
/**
17+
* {@inheritDoc}
18+
*/
19+
public function load(array $configs, ContainerBuilder $container)
20+
{
21+
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
22+
$loader->load('services.yml');
23+
}
24+
25+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace Checkdomain\TeleCashBundle\DependencyInjection;
4+
5+
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
6+
use Symfony\Component\Config\Definition\ConfigurationInterface;
7+
8+
/**
9+
* Configuration
10+
*/
11+
class Configuration implements ConfigurationInterface
12+
{
13+
/**
14+
* {@inheritDoc}
15+
*/
16+
public function getConfigTreeBuilder()
17+
{
18+
$treeBuilder = new TreeBuilder();
19+
20+
return $treeBuilder;
21+
}
22+
}

LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright (c) 2015 checkdomain GmbH
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software is furnished to do so,
8+
subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
TeleCashBundle
2+
=============
3+
4+
This Bundle only provides some default config to use the service from [checkdomain/tele-cash](https://github.com/checkdomain/TeleCash).
5+
6+
For details on the usage see [checkdomain/tele-cash](https://github.com/checkdomain/TeleCash).

Resources/config/services.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
parameters:
2+
checkdomain.telecash.class: Checkdomain\TeleCash\TeleCash
3+
4+
services:
5+
checkdomain.telecash.telecash:
6+
class: %checkdomain.telecash.class%
7+
arguments:
8+
- %telecash_service_url%
9+
- %telecash_api_user%
10+
- %telecash_api_pass%
11+
- %telecash_client_cert_path%
12+
- %telecash_client_key_path%
13+
- %telecash_client_key_pass_phrase%
14+
- %telecash_server_cert%

composer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "checkdomain/tele-cash-bundle",
3+
"description": "Checkdomain/TeleCashBundle provides a simple API to TeleCash API ",
4+
"keywords": ["TeleCash", "symfony", "bundle"],
5+
"type": "library",
6+
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "Torsten Petersdorf",
10+
"email": "t.petersdorf@checkdomain.de",
11+
"homepage": "http://checkdomain.de"
12+
}
13+
],
14+
"require": {
15+
"php": ">=5.4",
16+
"checkdomain/telecash": "dev-master"
17+
},
18+
"require-dev": {
19+
"phpunit/phpunit": "3.7.*"
20+
},
21+
"autoload": {
22+
"psr-0": { "Checkdomain\\TeleCashBundle": "" }
23+
},
24+
"target-dir": "Checkdomain/TeleCashBundle"
25+
}

0 commit comments

Comments
 (0)