Changeset View
Changeset View
Standalone View
Standalone View
src/docs/contributor/php_coding_standards.diviner
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | class Dog extends Animal { | ||||
const CIRCLES_REQUIRED_TO_LIE_DOWN = 3; | const CIRCLES_REQUIRED_TO_LIE_DOWN = 3; | ||||
private $favoriteFood = 'dirt'; | private $favoriteFood = 'dirt'; | ||||
public function getFavoriteFood() { | public function getFavoriteFood() { | ||||
return $this->favoriteFood; | return $this->favoriteFood; | ||||
} | } | ||||
} | } | ||||
# Extra Readings | |||||
* @{article:PHP Pitfalls} |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0