Skip to content

Commit e720a52

Browse files
committed
working on namespaces.
1 parent c8098f2 commit e720a52

File tree

78 files changed

+719
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+719
-132
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"src/Pheanstalk"
3535
],
3636
"files": [
37-
"src/helpers.php"
37+
"src/Illuminate/Support/helpers.php"
3838
],
3939
"psr-0": {
4040
"Illuminate": "src/"

src/Illuminate/Auth/Guard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php namespace Illuminate\Auth;
22

3-
use Illuminate\Encrypter;
4-
use Illuminate\CookieJar;
3+
use Illuminate\Cookie\CookieJar;
54
use Illuminate\Events\Dispatcher;
5+
use Illuminate\Encryption\Encrypter;
66
use Symfony\Component\HttpFoundation\Request;
77
use Illuminate\Session\Store as SessionStore;
88

src/Illuminate/Auth/composer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "illuminate/auth",
3+
"authors": [
4+
{
5+
"name": "Taylor Otwell",
6+
"email": "taylorotwell@gmail.com"
7+
}
8+
],
9+
"require": {
10+
"php": ">=5.3.0",
11+
"illuminate/cookie": "1.2.*",
12+
"illuminate/encryption": "1.2.*",
13+
"illuminate/hashing": "1.2.*",
14+
"illuminate/session": "1.2.*",
15+
"illuminate/support": "1.2.*",
16+
"symfony/http-foundation": "2.2.*"
17+
},
18+
"autoload": {
19+
"psr-0": {"Illuminate\\Auth": ""}
20+
},
21+
"target-dir": "Illuminate/Auth",
22+
"extra": {
23+
"branch-alias": {
24+
"dev-master": "1.2-dev"
25+
}
26+
},
27+
"minimum-stability": "dev"
28+
}

src/Illuminate/Cache/DatabaseStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Cache;
22

3-
use Illuminate\Encrypter;
43
use Illuminate\Database\Connection;
4+
use Illuminate\Encryption\Encrypter;
55

66
class DatabaseStore extends Store {
77

src/Illuminate/Cache/FileStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php namespace Illuminate\Cache; use Illuminate\Filesystem;
1+
<?php namespace Illuminate\Cache; use Illuminate\Filesystem\Filesystem;
22

33
class FileStore extends Store {
44

src/Illuminate/Cache/composer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "illuminate/cache",
3+
"authors": [
4+
{
5+
"name": "Taylor Otwell",
6+
"email": "taylorotwell@gmail.com"
7+
}
8+
],
9+
"require": {
10+
"php": ">=5.3.0",
11+
"illuminate/database": "1.2.*",
12+
"illuminate/encryption": "1.2.*",
13+
"illuminate/filesystem": "1.2.*",
14+
"illuminate/redis": "1.2.*",
15+
"illuminate/support": "1.2.*"
16+
},
17+
"autoload": {
18+
"psr-0": {"Illuminate\\Cache": ""}
19+
},
20+
"target-dir": "Illuminate/Cache",
21+
"extra": {
22+
"branch-alias": {
23+
"dev-master": "1.2-dev"
24+
}
25+
},
26+
"minimum-stability": "dev"
27+
}

src/Illuminate/Config/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Config;
22

3-
use Illuminate\Filesystem;
3+
use Illuminate\Filesystem\Filesystem;
44

55
class FileLoader implements LoaderInterface {
66

src/Illuminate/Config/composer.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "illuminate/config",
3+
"authors": [
4+
{
5+
"name": "Taylor Otwell",
6+
"email": "taylorotwell@gmail.com"
7+
}
8+
],
9+
"require": {
10+
"php": ">=5.3.0",
11+
"illuminate/filesystem": "1.2.*",
12+
"illuminate/support": "1.2.*"
13+
},
14+
"autoload": {
15+
"psr-0": {"Illuminate\\Config": ""}
16+
},
17+
"target-dir": "Illuminate/Config",
18+
"extra": {
19+
"branch-alias": {
20+
"dev-master": "1.2-dev"
21+
}
22+
},
23+
"minimum-stability": "dev"
24+
}

src/Illuminate/Console/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Console;
22

3-
use Illuminate\Container;
3+
use Illuminate\Container\Container;
44
use Symfony\Component\Console\Input\InputOption;
55
use Symfony\Component\Console\Command\Command as SymfonyCommand;
66

src/Illuminate/Console/composer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "illuminate/console",
3+
"keywords": ["laravel"],
4+
"authors": [
5+
{
6+
"name": "Taylor Otwell",
7+
"email": "taylorotwell@gmail.com"
8+
}
9+
],
10+
"require": {
11+
"symfony/console": "2.2.*"
12+
},
13+
"autoload": {
14+
"psr-0": {
15+
"Illuminate\\Console": ""
16+
}
17+
},
18+
"target-dir": "Illuminate/Console",
19+
"extra": {
20+
"branch-alias": {
21+
"dev-master": "1.2-dev"
22+
}
23+
},
24+
"minimum-stability": "dev"
25+
}

src/Illuminate/Container.php renamed to src/Illuminate/Container/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php namespace Illuminate; use Closure, ArrayAccess;
1+
<?php namespace Illuminate\Container; use Closure, ArrayAccess;
22

33
class BindingResolutionException extends \Exception {}
44

src/Illuminate/CookieJar.php renamed to src/Illuminate/Cookie/CookieJar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<?php namespace Illuminate;
1+
<?php namespace Illuminate\Cookie;
22

33
use Closure;
4-
use Illuminate\Encrypter;
4+
use Illuminate\Encryption\Encrypter;
55
use Symfony\Component\HttpFoundation\Cookie;
66
use Symfony\Component\HttpFoundation\Request;
77
use Symfony\Component\HttpFoundation\Response;

src/Illuminate/CookieServiceProvider.php renamed to src/Illuminate/Cookie/CookieServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php namespace Illuminate;
1+
<?php namespace Illuminate\Cookie;
22

33
use Illuminate\Support\ServiceProvider;
44

src/Illuminate/Database/Migrations/MigrationCreator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Database\Migrations;
22

33
use Closure;
4-
use Illuminate\Filesystem;
4+
use Illuminate\Filesystem\Filesystem;
55

66
class MigrationCreator {
77

src/Illuminate/Database/Migrations/Migrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php namespace Illuminate\Database\Migrations;
22

33
use Closure;
4-
use Illuminate\Filesystem;
54
use Illuminate\Events\Dispatcher;
65
use Illuminate\Database\Connection;
6+
use Illuminate\Filesystem\Filesystem;
77
use Symfony\Component\Console\Output\OutputInterface;
88
use Illuminate\Database\ConnectionResolverInterface as Resolver;
99

src/Illuminate/Database/Seeder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Database;
22

3-
use Illuminate\Filesystem;
43
use Illuminate\Events\Dispatcher;
4+
use Illuminate\Filesystem\Filesystem;
55

66
class Seeder {
77

src/Illuminate/Encrypter.php renamed to src/Illuminate/Encryption/Encrypter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php namespace Illuminate;
1+
<?php namespace Illuminate\Encryption;
22

33
class DecryptException extends \RuntimeException {}
44

src/Illuminate/EncryptionServiceProvider.php renamed to src/Illuminate/Encryption/EncryptionServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php namespace Illuminate;
1+
<?php namespace Illuminate\Encryption;
22

33
use Illuminate\Support\ServiceProvider;
44

src/Illuminate/Events/Dispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Events;
22

3-
use Illuminate\Container;
3+
use Illuminate\Container\Container;
44
use Symfony\Component\EventDispatcher\Event as SymfonyEvent;
55
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
66
use Symfony\Component\EventDispatcher\EventDispatcher as SymfonyDispatcher;

src/Illuminate/Filesystem.php renamed to src/Illuminate/Filesystem/Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php namespace Illuminate;
1+
<?php namespace Illuminate\Filesystem;
22

33
use FilesystemIterator;
44

src/Illuminate/FilesystemServiceProvider.php renamed to src/Illuminate/Filesystem/FilesystemServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php namespace Illuminate;
1+
<?php namespace Illuminate\Filesystem;
22

33
use Illuminate\Support\ServiceProvider;
44

src/Illuminate/Foundation/Application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php namespace Illuminate\Foundation;
22

33
use Closure;
4-
use Illuminate\Container;
5-
use Illuminate\Filesystem;
64
use Illuminate\Http\Request;
75
use Illuminate\Http\Response;
86
use Illuminate\Routing\Route;
97
use Illuminate\Routing\Router;
8+
use Illuminate\Container\Container;
9+
use Illuminate\Filesystem\Filesystem;
1010
use Illuminate\Support\ServiceProvider;
1111
use Illuminate\Events\EventServiceProvider;
1212
use Illuminate\Routing\RoutingServiceProvider;

src/Illuminate/Foundation/AssetPublisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Foundation;
22

3-
use Illuminate\Filesystem;
3+
use Illuminate\Filesystem\Filesystem;
44

55
class AssetPublisher {
66

src/Illuminate/Foundation/Composer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Foundation;
22

3-
use Illuminate\Filesystem;
3+
use Illuminate\Filesystem\Filesystem;
44
use Symfony\Component\Process\Process;
55

66
class Composer {

src/Illuminate/Foundation/ConfigPublisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Foundation;
22

3-
use Illuminate\Filesystem;
3+
use Illuminate\Filesystem\Filesystem;
44

55
class ConfigPublisher {
66

src/Illuminate/Foundation/Console/CommandMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Foundation\Console;
22

3-
use Illuminate\Filesystem;
43
use Illuminate\Console\Command;
4+
use Illuminate\Filesystem\Filesystem;
55
use Symfony\Component\Console\Input\InputOption;
66
use Symfony\Component\Console\Input\InputArgument;
77

src/Illuminate/Foundation/ProviderRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Foundation;
22

3-
use Illuminate\Filesystem;
3+
use Illuminate\Filesystem\Filesystem;
44

55
class ProviderRepository {
66

src/Illuminate/Foundation/start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
|
2828
*/
2929

30-
use Illuminate\Filesystem;
3130
use Illuminate\Http\Request;
3231
use Illuminate\Config\FileLoader;
32+
use Illuminate\Filesystem\Filesystem;
3333
use Illuminate\Support\Facades\Facade;
3434
use Illuminate\Config\Repository as Config;
3535
use Illuminate\Foundation\ProviderRepository;

src/Illuminate/Mail/Mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
use Closure;
44
use Swift_Mailer;
55
use Swift_Message;
6-
use Illuminate\Container;
76
use Illuminate\Log\Writer;
87
use Illuminate\View\Environment;
8+
use Illuminate\Container\Container;
99

1010
class Mailer {
1111

src/Illuminate/Queue/Jobs/BeanstalkdJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Pheanstalk;
44
use Pheanstalk_Job;
5-
use Illuminate\Container;
5+
use Illuminate\Container\Container;
66

77
class BeanstalkdJob extends Job {
88

src/Illuminate/Queue/Jobs/IronJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Queue\Jobs;
22

33
use IronMQ;
4-
use Illuminate\Container;
4+
use Illuminate\Container\Container;
55

66
class IronJob extends Job {
77

src/Illuminate/Queue/Jobs/SyncJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Queue\Jobs;
22

3-
use Illuminate\Container;
3+
use Illuminate\Container\Container;
44

55
class SyncJob extends Job {
66

src/Illuminate/Queue/Queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Queue;
22

3-
use Illuminate\Container;
3+
use Illuminate\Container\Container;
44

55
abstract class Queue {
66

src/Illuminate/Routing/Controllers/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
use Closure;
44
use ReflectionClass;
5-
use Illuminate\Container;
65
use Illuminate\Routing\Router;
6+
use Illuminate\Container\Container;
77
use Doctrine\Common\Annotations\SimpleAnnotationReader;
88
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
99

src/Illuminate/Routing/Generators/ControllerGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Routing\Generators;
22

3-
use Illuminate\Filesystem;
3+
use Illuminate\Filesystem\Filesystem;
44

55
class ControllerGenerator {
66

src/Illuminate/Routing/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php namespace Illuminate\Routing;
22

33
use Closure;
4-
use Illuminate\Container;
54
use Illuminate\Http\Response;
5+
use Illuminate\Container\Container;
66
use Symfony\Component\HttpFoundation\Request;
77
use Symfony\Component\Routing\RequestContext;
88
use Symfony\Component\Routing\RouteCollection;

src/Illuminate/Session/CookieStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace Illuminate\Session;
22

3-
use Illuminate\CookieJar;
3+
use Illuminate\Cookie\CookieJar;
44
use Symfony\Component\HttpFoundation\Response;
55

66
class CookieStore extends Store {

0 commit comments

Comments
 (0)