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
<?php <?php
require_once('src/ReadOnlyTrait.php'); //Or register under your config/App.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; use Illuminate\Database\Eloquent\Model;
class User extends Illuminate\Database\Eloquent\Model { class User extends Illuminate\Database\Eloquent\Model {
use Michael\ReadOnly\ReadOnlyTrait; use MichaelAChrisco\ReadOnly\ReadOnlyTrait;
} }
$legacyUser = new User; $legacyUser = new User;

View file

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

View file

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

View file

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