Working on a new Capsule implementation.
fix getTo() method not returning the correct values
Add Str::length() back in
Merge pull request #1422 from cviebrock/patch-1

Add Str::length() back in
Merge pull request #1421 from brunogaspar/master

Fix the Paginator getTo() method not returning the correct values
Merge branch 'master' into capsule
Totally re-doing Capsule implementation for ease of use.
Delete old Capsule implementation.
Update database capsule docs.
Merge branch 'master' of github.com:laravel/framework
Remove information from readme that is no longer valid.
Changed length() return annotation
Allow cache to be resolved through a Closure like the paginator. Fixes dependency issues, currently you must include Illuminate\Cache\Manager to resolve through IoC or mockery. Fixed now.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Add test for resolving paginator as well to prove desired behaviour.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Tweak docblock typehints.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Merge pull request #1426 from bencorlett/bugfix/connection-cache-manager

[bugfix] Consistency & Resolvable Dependencies Fix
Merge pull request #1425 from mrdevries/patch-1

Changed length() return annotation
When Exception occurs, return also the exception code not only a message.

If we don't return any exception code, or return always 0,  programmer have to parse a exception message. It's not a developer friendly approach.
Add license to composer files.
Merge pull request #1427 from devmach/patch-2

When Exception occurs, return also the exception code not only a message...