Last active
August 16, 2018 12:43
-
-
Save cn007b/f4705eb227dc949370f1630d5afc0139 to your computer and use it in GitHub Desktop.
Value Object instead of Form - Form
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 | |
class Form | |
{ | |
protected $name; | |
public function getName() | |
{ | |
return $this->name; | |
} | |
public function setName($name) | |
{ | |
$this->name = $name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment