File tree 9 files changed +19
-19
lines changed
9 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 13
13
},
14
14
"autoload" : {
15
15
"psr-4" : {
16
- "Interop \\ Async \\ " : " src"
16
+ "AsyncInterop \\ " : " src"
17
17
}
18
18
},
19
19
"autoload-dev" : {
20
20
"psr-4" : {
21
- "Interop \\ Async \\ Loop\\ Test\\ " : " test"
21
+ "AsyncInterop \\ Loop\\ Test\\ " : " test"
22
22
}
23
23
}
24
24
}
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async ;
3
+ namespace AsyncInterop ;
4
4
5
- use Interop \ Async \Loop \Driver ;
6
- use Interop \ Async \Loop \DriverFactory ;
7
- use Interop \ Async \Loop \InvalidWatcherException ;
8
- use Interop \ Async \Loop \UnsupportedFeatureException ;
5
+ use AsyncInterop \Loop \Driver ;
6
+ use AsyncInterop \Loop \DriverFactory ;
7
+ use AsyncInterop \Loop \InvalidWatcherException ;
8
+ use AsyncInterop \Loop \UnsupportedFeatureException ;
9
9
10
10
/**
11
11
* Accessor to allow global access to the event loop.
12
12
*
13
- * @see \Interop\Async \Loop\Driver
13
+ * @see \AsyncInterop \Loop\Driver
14
14
*/
15
15
final class Loop
16
16
{
@@ -64,7 +64,7 @@ public static function setFactory(DriverFactory $factory = null)
64
64
*
65
65
* @return void
66
66
*
67
- * @see \Interop\Async \Loop::setFactory()
67
+ * @see \AsyncInterop \Loop::setFactory()
68
68
*/
69
69
public static function execute (callable $ callback , Driver $ driver = null )
70
70
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async \Loop ;
3
+ namespace AsyncInterop \Loop ;
4
4
5
5
/**
6
6
* Event loop driver which implements all basic operations to allow interoperability.
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async \Loop ;
3
+ namespace AsyncInterop \Loop ;
4
4
5
5
/**
6
6
* Allows creating new driver instances.
7
7
*
8
- * @see \Interop\Async \Loop::setFactory()
8
+ * @see \AsyncInterop \Loop::setFactory()
9
9
*/
10
10
interface DriverFactory
11
11
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async \Loop ;
3
+ namespace AsyncInterop \Loop ;
4
4
5
5
/**
6
6
* MUST be thrown if any operation (except disable() and cancel()) is attempted with an invalid watcher identifier.
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async \Loop ;
3
+ namespace AsyncInterop \Loop ;
4
4
5
5
/**
6
6
* MUST be thrown if a feature is not supported by the system.
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async \Loop \Test ;
3
+ namespace AsyncInterop \Loop \Test ;
4
4
5
- use Interop \ Async \Loop \Driver ;
5
+ use AsyncInterop \Loop \Driver ;
6
6
7
7
class DummyDriver extends Driver
8
8
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async \Loop ;
3
+ namespace AsyncInterop \Loop ;
4
4
5
5
class LoopStateTest extends \PHPUnit_Framework_TestCase
6
6
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Interop \ Async \Loop \Test ;
3
+ namespace AsyncInterop \Loop \Test ;
4
4
5
- use Interop \ Async \Loop ;
5
+ use AsyncInterop \Loop ;
6
6
7
7
class LoopTest extends \PHPUnit_Framework_TestCase
8
8
{
You can’t perform that action at this time.
0 commit comments