Skip to content

Commit

Permalink
Update directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
kohkimakimoto committed Feb 14, 2014
1 parent 0985f08 commit 5045f7c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -23,7 +23,7 @@ Run composer update

Add the following line your `.altax/config.php` file.

Task::register('server', 'Altax\Command\ServerCommand');
Task::register('server', 'Altax\Contrib\Server\Command\ServerCommand');

## Usage

Expand All @@ -36,7 +36,7 @@ Run the task command
Example:

```php
Task::register('server', 'Altax\Command\ServerCommand')
Task::register('server', 'Altax\Contrib\Server\Command\ServerCommand')
->config(array(
"host" => "localhost",
"port" => 1234,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -19,6 +19,6 @@
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-0": { "Altax\\": "src/"}
"psr-0": { "Altax\\Contrib\\Server": "src/"}
}
}
@@ -1,5 +1,5 @@
<?php
namespace Altax\Command;
namespace Altax\Contrib\Server\Command;

use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
Expand Down
@@ -1,11 +1,11 @@
<?php
namespace Test\Altax\Command;
namespace Test\Altax\Contrib\Server\Command;

use Symfony\Component\Console\Tester\CommandTester;
use Altax\Console\Application;
use Altax\Foundation\Container;
use Altax\Module\Task\Resource\DefinedTask;
use Altax\Command\ServerCommand;
use Altax\Contrib\ServerCommand\ServerCommand;

class ServerCommandTest extends \PHPUnit_Framework_TestCase
{
Expand Down

0 comments on commit 5045f7c

Please sign in to comment.