Skip to content

Instantly share code, notes, and snippets.

@Enapiuz
Created August 23, 2014 20:40
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 Enapiuz/5215fc75315360f81546 to your computer and use it in GitHub Desktop.
Save Enapiuz/5215fc75315360f81546 to your computer and use it in GitHub Desktop.
$grp var_dump
object(VkGroup)[323]
protected 'fillable' =>
array (size=4)
0 => string 'gid' (length=3)
1 => string 'name' (length=4)
2 => string 'population' (length=10)
3 => string 'screen_name' (length=11)
protected 'connection' => null
protected 'table' => null
protected 'primaryKey' => string 'id' (length=2)
protected 'perPage' => int 15
public 'incrementing' => boolean true
public 'timestamps' => boolean true
protected 'attributes' =>
array (size=7)
'id' => int 1
'gid' => int 345346
'name' => string 'OUTLAWZ' (length=7)
'screen_name' => string 'outlawz4life' (length=12)
'population' => int 899
'created_at' => string '2014-08-23 23:50:17' (length=19)
'updated_at' => string '2014-08-23 23:50:17' (length=19)
protected 'original' =>
array (size=11)
'id' => int 1
'gid' => int 345346
'name' => string 'OUTLAWZ' (length=7)
'screen_name' => string 'outlawz4life' (length=12)
'population' => int 899
'created_at' => string '2014-08-23 23:50:17' (length=19)
'updated_at' => string '2014-08-23 23:50:17' (length=19)
'pivot_user_id' => int 1
'pivot_vk_group_id' => int 1
'pivot_created_at' => string '2014-08-23 23:50:17' (length=19)
'pivot_updated_at' => string '2014-08-23 23:50:17' (length=19)
protected 'relations' =>
array (size=1)
'pivot' =>
object(Illuminate\Database\Eloquent\Relations\Pivot)[331]
protected 'parent' =>
object(User)[322]
...
protected 'foreignKey' => string 'user_id' (length=7)
protected 'otherKey' => string 'vk_group_id' (length=11)
protected 'guarded' =>
array (size=0)
...
protected 'connection' => null
protected 'table' => string 'user_vk_group' (length=13)
protected 'primaryKey' => string 'id' (length=2)
protected 'perPage' => int 15
public 'incrementing' => boolean true
public 'timestamps' => boolean true
protected 'attributes' =>
array (size=4)
...
protected 'original' =>
array (size=4)
...
protected 'relations' =>
array (size=0)
...
protected 'hidden' =>
array (size=0)
...
protected 'visible' =>
array (size=0)
...
protected 'appends' =>
array (size=0)
...
protected 'fillable' =>
array (size=0)
...
protected 'dates' =>
array (size=0)
...
protected 'touches' =>
array (size=0)
...
protected 'observables' =>
array (size=0)
...
protected 'with' =>
array (size=0)
...
protected 'morphClass' => null
public 'exists' => boolean true
protected 'hidden' =>
array (size=0)
empty
protected 'visible' =>
array (size=0)
empty
protected 'appends' =>
array (size=0)
empty
protected 'guarded' =>
array (size=1)
0 => string '*' (length=1)
protected 'dates' =>
array (size=0)
empty
protected 'touches' =>
array (size=0)
empty
protected 'observables' =>
array (size=0)
empty
protected 'with' =>
array (size=0)
empty
protected 'morphClass' => null
public 'exists' => boolean true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment