Skip to content

Instantly share code, notes, and snippets.

@Tjoosten
Created April 10, 2017 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tjoosten/a254ac764eb3812a290b268d6249414c to your computer and use it in GitHub Desktop.
Save Tjoosten/a254ac764eb3812a290b268d6249414c to your computer and use it in GitHub Desktop.
Petitions {#64 ▼
#table: "petitions"
#fillable: array:4 [▼
0 => "creator_id"
1 => "category_id"
2 => "title"
3 => "description"
]
#connection: null
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#attributes: array:9 [▼
"id" => 1
"creator_id" => 1
"category_id" => 2
"title" => "test"
"description" => "test"
"updated_at" => "2017-03-03 08:27:15"
"created_at" => "2017-03-03 08:27:15"
"deleted_at" => null
"closed_at" => null
]
#original: array:9 [▼
"id" => 1
"creator_id" => 1
"category_id" => 2
"title" => "test"
"description" => "test"
"updated_at" => "2017-03-03 08:27:15"
"created_at" => "2017-03-03 08:27:15"
"deleted_at" => null
"closed_at" => null
]
#casts: []
#dates: []
#dateFormat: null
#appends: []
#events: []
#observables: []
#relations: array:3 [▼
"comments" => Collection {#63 ▼
#items: []
}
"creator" => Authencate {#81 ▼
#table: "users"
#fillable: array:6 [▼
0 => "ban_id"
1 => "username"
2 => "name"
3 => "blocked"
4 => "password"
5 => "email"
]
#connection: null
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#attributes: array:10 [▼
"id" => 1
"ban_id" => 0
"username" => "Topairy"
"name" => "Tim Joosten"
"blocked" => "N"
"password" => "3926f3e9e85eeaf749e603cc4b55d486"
"email" => "topairy@gmail.com"
"updated_at" => "2017-04-02 23:10:26"
"created_at" => "2017-03-03 08:26:59"
"deleted_at" => null
]
#original: array:10 [▼
"id" => 1
"ban_id" => 0
"username" => "Topairy"
"name" => "Tim Joosten"
"blocked" => "N"
"password" => "3926f3e9e85eeaf749e603cc4b55d486"
"email" => "topairy@gmail.com"
"updated_at" => "2017-04-02 23:10:26"
"created_at" => "2017-03-03 08:26:59"
"deleted_at" => null
]
#casts: []
#dates: []
#dateFormat: null
#appends: []
#events: []
#observables: []
#relations: []
#touches: []
+timestamps: true
#hidden: []
#visible: []
#guarded: array:1 [▼
0 => "*"
]
#forceDeleting: false
}
"updatesPetition" => Collection {#65 ▼
#items: []
}
]
#touches: []
+timestamps: true
#hidden: []
#visible: []
#guarded: array:1 [▼
0 => "*"
]
#forceDeleting: false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment