Skip to content

Commit

Permalink
Move EioPoll to internal namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jan 26, 2016
1 parent cc6c3cf commit 580e48f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Eio/EioDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class EioDriver implements Driver
];

/**
* @var \Icicle\File\Eio\EioPoll
* @var \Icicle\File\Eio\Internal\EioPoll
*/
private $poll;

Expand All @@ -47,7 +47,7 @@ public function __construct()
throw new FileException('Requires the eio extension.');
} // @codeCoverageIgnoreEnd

$this->poll = new EioPoll();
$this->poll = new Internal\EioPoll();
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/Eio/EioFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class EioFile implements File
{
/**
* @var \Icicle\File\Eio\EioPoll
* @var \Icicle\File\Eio\Internal\EioPoll
*/
private $poll;

Expand Down Expand Up @@ -53,13 +53,13 @@ class EioFile implements File
private $writable = true;

/**
* @param \Icicle\File\Eio\EioPoll $poll
* @param \Icicle\File\Eio\Internal\EioPoll $poll
* @param int $handle
* @param string $path
* @param int $size
* @param bool $append
*/
public function __construct(EioPoll $poll, $handle, $path, $size, $append = false)
public function __construct(Internal\EioPoll $poll, $handle, $path, $size, $append = false)
{
$this->poll = $poll;
$this->handle = $handle;
Expand Down
2 changes: 1 addition & 1 deletion src/Eio/EioPoll.php → src/Eio/Internal/EioPoll.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Icicle\File\Eio;
namespace Icicle\File\Eio\Internal;

use Icicle\Loop;

Expand Down

0 comments on commit 580e48f

Please sign in to comment.