Change vendor name. Michael already taken.

This commit is contained in:
Michael Chrisco 2016-03-28 11:38:08 -07:00
parent 77e0de5566
commit 40dbb9ef0b
4 changed files with 6 additions and 6 deletions

View file

@ -8,10 +8,10 @@ This is only a simple demonstration of the model.
```php
<?php
require_once('src/ReadOnlyTrait.php'); //Or register under your config/App.php
// use Michael\ReadOnlyTrait; //optional
// use MichaelAChrisco\ReadOnlyTrait; //optional
use Illuminate\Database\Eloquent\Model;
class User extends Illuminate\Database\Eloquent\Model {
use Michael\ReadOnly\ReadOnlyTrait;
use MichaelAChrisco\ReadOnly\ReadOnlyTrait;
}
$legacyUser = new User;

View file

@ -1,5 +1,5 @@
{
"name": "michael/readonly",
"name": "michaelachrisco/readonly",
"description": "Readonly Models for Laravel 5",
"authors": [
{

View file

@ -1,9 +1,9 @@
<?php
require_once('src/ReadOnlyTrait.php');
// use Michael\ReadOnlyTrait;
// use MichaelAChrisco\ReadOnlyTrait;
use Illuminate\Database\Eloquent\Model;
class User extends Illuminate\Database\Eloquent\Model {
use Michael\ReadOnly\ReadOnlyTrait;
use MichaelAChrisco\ReadOnly\ReadOnlyTrait;
}
describe("User", function() {

View file

@ -1,5 +1,5 @@
<?php
namespace Michael\ReadOnly;
namespace MichaelAChrisco\ReadOnly;
trait ReadOnlyTrait {
public function save(array $options = []){
return false;