Added DependencyInjection UML

This commit is contained in:
John Webb
2014-07-29 10:58:40 -05:00
parent 3a7e38f91d
commit aef2f34993
16 changed files with 59 additions and 27 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -1,25 +1,24 @@
@startuml
class User {
protected $userId
protected $username
protected $email
+__construct($id = null, $username = null, $email = null)
#$userId : int
#$username : string
#$email : string
+__construct($id = null : int, $username = null : string, $email = null : string)
+getUserId()
+setUserID($userId)
+setUserID($userId : int)
+getUsername()
+setUsername($username)
+setUsername($username : string)
+getEmail()
+setEmail($email)
+setEmail($email : string)
}
class UserMapper {
# $user : User
protected $adapter
#$adapter : DBAL
+__construct(DBAL $dbLayer)
+save(User $user)
+findById($id)
+findById($id : int)
+findAll()
+mapObject(array $row)
#mapObject(array $row)
}
@enduml