Skip to content

Commit 5ea1700

Browse files
committed
added some doc comments and copyright notices
1 parent c3595b9 commit 5ea1700

9 files changed

+76
-2
lines changed

Curl/CurlEvents.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle\Curl;
411

512

Curl/CurlRequest.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle\Curl;
411

512
interface CurlRequest

Curl/MultiInfo.php

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
<?php
22

3-
namespace Zeroem\CurlBundle\Curl;
3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
49

10+
namespace Zeroem\CurlBundle\Curl;
511

12+
/**
13+
* An OO Representation of the data returned by curl_multi_info_read
14+
*/
615
class MultiInfo
716
{
17+
/**
18+
* @var resource the handle associated with this information
19+
*/
820
private $handle;
921
private $message;
1022
private $result;

Curl/MultiInfoEvent.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle\Curl;
411

512
use Symfony\Component\EventDispatcher\Event;

Curl/MultiManager.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle\Curl;
411

512
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
613

714
/**
8-
*
15+
* Manage the execution of multiple Curl\Request objects in parallel
916
*/
1017
class MultiManager implements CurlRequest
1118
{

Curl/Request.php

+9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle\Curl;
411

12+
/**
13+
* An OO wrapper on the curl_* functions in PHP
514
class Request implements CurlRequest
615
{
716
/**

Curl/RequestGenerator.php

+11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle\Curl;
411

12+
/**
13+
* A service class for generating Curl\Request objects with an initial
14+
* set of CURLOPT_* options set
15+
*/
516
class RequestGenerator
617
{
718
private $options;

Tests/Curl/RequestGeneratorTest.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle\Tests\Curl;
411

512
use Zeroem\CurlBundle\Curl\RequestGenerator;

ZeroemCurlBundle.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* (c) Darrell Hamilton <[email protected]>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
namespace Zeroem\CurlBundle;
411

512
use Symfony\Component\HttpKernel\Bundle\Bundle;

0 commit comments

Comments
 (0)