Make validAttributes private

This commit is contained in:
Gregory Oschwald 2013-12-02 10:04:30 -08:00
parent fbbe2dba24
commit 7b0f8ca0c0

View File

@ -42,7 +42,7 @@ abstract class AbstractRecord implements \JsonSerializable
return strtolower(preg_replace('/([A-Z])/', '_\1', $attr));
}
public function validAttribute($attr)
private function validAttribute($attr)
{
return in_array($attr, $this->validAttributes);
}