$language_id does not seem to conform to the naming convention (^[a-z][a-zA-Z0-9]*$).
This check examines a number of code elements and verifies that they conform
to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties,
methods, parameters, interfaces, classes, exceptions and special methods.
$created_at does not seem to conform to the naming convention (^[a-z][a-zA-Z0-9]*$).
This check examines a number of code elements and verifies that they conform
to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties,
methods, parameters, interfaces, classes, exceptions and special methods.
$updated_at does not seem to conform to the naming convention (^[a-z][a-zA-Z0-9]*$).
This check examines a number of code elements and verifies that they conform
to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties,
methods, parameters, interfaces, classes, exceptions and special methods.
$is_deleted does not seem to conform to the naming convention (^[a-z][a-zA-Z0-9]*$).
This check examines a number of code elements and verifies that they conform
to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties,
methods, parameters, interfaces, classes, exceptions and special methods.
Loading history...
63
64
/**
65
* Initialize method for model.
66
*/
67
public function initialize()
68
{
69
$this->setSource('sources');
70
}
71
72
/**
73
* Returns table name mapped in the model.
74
*
75
* @return string
76
*/
77
public function getSource(): string
78
{
79
return 'sources';
80
}
81
82
/**
83
* Verify if source is Apple
84
*/
85
public function isApple(): bool
86
{
87
return $this->title == 'apple';
88
}
89
90
/**
91
* Validate Apple User.
92
* @param string $identityToken
93
* @return object
94
*/
95
public function validateAppleUser(string $identityToken): object
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.