Skip to content

Commit

Permalink
Update OtterResource Stub
Browse files Browse the repository at this point in the history
  • Loading branch information
zanechua committed Jan 1, 2019
1 parent 24b3bc0 commit 4ebe2ac
Showing 1 changed file with 34 additions and 23 deletions.
57 changes: 34 additions & 23 deletions stubs/OtterResource.stub
Expand Up @@ -50,30 +50,41 @@ class DummyClass extends OtterResource
public static function validations()
{
return [
'client' => [
'create' => [
/**
* Client side create resource validation
*/
'client' => [
'create' => [
/**
* Client side create resource validation
*/
],
'update' => [
/**
* Client side update resource validation
*/
]
],
'update' => [
/**
* Client side update resource validation
*/
]
],
'server' => [
'create' => [
/**
* Server side create resource validation
*/
'server' => [
'create' => [
/**
* Server side create resource validation
*/
],
'update' => [
/**
* Server side update resource validation
*/
]
],
'update' => [
/**
* Server side update resource validation
*/
]
],
];
];
}

/**
* Get the relations used by the resource
*
* @return array
*/
public static function relations()
{
return [
];
}
}

0 comments on commit 4ebe2ac

Please sign in to comment.