Skip to content

Commit

Permalink
[9-9] InquiryクラスにsetId()メソッドを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
hidenorigoto committed Dec 28, 2015
1 parent 29fb521 commit fb795c9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/lists/ch09/09-09.txt
@@ -0,0 +1,7 @@
/**
* @param $id
*/
public function setId($id)
{
$this->id = $id;
}
8 changes: 8 additions & 0 deletions src/AppBundle/Entity/Inquiry.php
Expand Up @@ -98,6 +98,14 @@ public function getId()
return $this->id;
}

/**
* @param $id
*/
public function setId($id)
{
$this->id = $id;
}

/**
* Set name
*
Expand Down

0 comments on commit fb795c9

Please sign in to comment.