It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Loading history...
26
27
/**
28
* @return array
29
*/
30
public function getModifiedColumns()
31
{
32
return $this->modified_columns;
33
}
34
35
/**
36
* @param $column
37
* @return FlexibleEntityInterface
38
*/
39
public function addModifiedColumn($column)
40
{
41
if (!in_array($column, $this->modified_columns)) {
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.