1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 05:11:42 +01:00

Change namespace to AsyncInterop\Loop

This commit is contained in:
Josh Di Fabio 2017-01-02 20:48:48 +00:00
parent 9a2d30c3c0
commit b9b49b3eaf
9 changed files with 19 additions and 19 deletions

View File

@ -13,12 +13,12 @@
},
"autoload": {
"psr-4": {
"Interop\\Async\\": "src"
"AsyncInterop\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Interop\\Async\\Loop\\Test\\": "test"
"AsyncInterop\\Loop\\Test\\": "test"
}
}
}

View File

@ -1,16 +1,16 @@
<?php
namespace Interop\Async;
namespace AsyncInterop;
use Interop\Async\Loop\Driver;
use Interop\Async\Loop\DriverFactory;
use Interop\Async\Loop\InvalidWatcherException;
use Interop\Async\Loop\UnsupportedFeatureException;
use AsyncInterop\Loop\Driver;
use AsyncInterop\Loop\DriverFactory;
use AsyncInterop\Loop\InvalidWatcherException;
use AsyncInterop\Loop\UnsupportedFeatureException;
/**
* Accessor to allow global access to the event loop.
*
* @see \Interop\Async\Loop\Driver
* @see \AsyncInterop\Loop\Driver
*/
final class Loop
{
@ -64,7 +64,7 @@ final class Loop
*
* @return void
*
* @see \Interop\Async\Loop::setFactory()
* @see \AsyncInterop\Loop::setFactory()
*/
public static function execute(callable $callback, Driver $driver = null)
{

View File

@ -1,6 +1,6 @@
<?php
namespace Interop\Async\Loop;
namespace AsyncInterop\Loop;
/**
* Event loop driver which implements all basic operations to allow interoperability.

View File

@ -1,11 +1,11 @@
<?php
namespace Interop\Async\Loop;
namespace AsyncInterop\Loop;
/**
* Allows creating new driver instances.
*
* @see \Interop\Async\Loop::setFactory()
* @see \AsyncInterop\Loop::setFactory()
*/
interface DriverFactory
{

View File

@ -1,6 +1,6 @@
<?php
namespace Interop\Async\Loop;
namespace AsyncInterop\Loop;
/**
* MUST be thrown if any operation (except disable() and cancel()) is attempted with an invalid watcher identifier.

View File

@ -1,6 +1,6 @@
<?php
namespace Interop\Async\Loop;
namespace AsyncInterop\Loop;
/**
* MUST be thrown if a feature is not supported by the system.

View File

@ -1,8 +1,8 @@
<?php
namespace Interop\Async\Loop\Test;
namespace AsyncInterop\Loop\Test;
use Interop\Async\Loop\Driver;
use AsyncInterop\Loop\Driver;
class DummyDriver extends Driver
{

View File

@ -1,6 +1,6 @@
<?php
namespace Interop\Async\Loop;
namespace AsyncInterop\Loop;
class LoopStateTest extends \PHPUnit_Framework_TestCase
{

View File

@ -1,8 +1,8 @@
<?php
namespace Interop\Async\Loop\Test;
namespace AsyncInterop\Loop\Test;
use Interop\Async\Loop;
use AsyncInterop\Loop;
class LoopTest extends \PHPUnit_Framework_TestCase
{