Created
August 16, 2020 18:02
-
-
Save kodetop/804e6e3b1d03bd74ea74735d6ba42c26 to your computer and use it in GitHub Desktop.
Code Style: Ejemplo usando PSR-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Kodetop; | |
class UserProfile | |
{ | |
const VERSION = '1.0'; | |
var $name = 'Guest'; | |
function getName() | |
{ | |
return $this->name; | |
} | |
function setName($name) | |
{ | |
$this->name = $name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment