2014-07-29 10:00:01 -05:00

1 line
6.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="194pt" style="width:556px;height:194px;" version="1.1" viewBox="0 0 556 194" width="556pt"><defs><filter height="300%" id="f1" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#FEFECE" filter="url(#f1)" height="177.5508" style="stroke: #A80036; stroke-width: 1.5;" width="327" x="6" y="8"/><ellipse cx="152.25" cy="24" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M155.2231,29.6431 Q154.6421,29.9419 154.0029,30.0913 Q153.3638,30.2407 152.6582,30.2407 Q150.1514,30.2407 148.8315,28.5889 Q147.5117,26.937 147.5117,23.8159 Q147.5117,20.6865 148.8315,19.0347 Q150.1514,17.3828 152.6582,17.3828 Q153.3638,17.3828 154.0112,17.5322 Q154.6587,17.6816 155.2231,17.9805 L155.2231,20.7031 Q154.5923,20.1221 153.9988,19.8523 Q153.4053,19.5825 152.7744,19.5825 Q151.4297,19.5825 150.7449,20.6492 Q150.0601,21.7158 150.0601,23.8159 Q150.0601,25.9077 150.7449,26.9744 Q151.4297,28.041 152.7744,28.041 Q153.4053,28.041 153.9988,27.7712 Q154.5923,27.5015 155.2231,26.9204 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="26" x="172.75" y="28.5352">User</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="332" y1="40" y2="40"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="96" x="12" y="54.6348">protected $userId</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="115" x="12" y="67.5898">protected $username</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="90" x="12" y="80.5449">protected $email</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="332" y1="86.8652" y2="86.8652"/><ellipse cx="17" cy="98.8428" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="301" x="26" y="101.5">__construct($id = null, $username = null, $email = null)</text><ellipse cx="17" cy="111.7979" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="60" x="26" y="114.4551">getUserId()</text><ellipse cx="17" cy="124.7529" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="101" x="26" y="127.4102">setUserID($userId)</text><ellipse cx="17" cy="137.708" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="79" x="26" y="140.3652">getUsername()</text><ellipse cx="17" cy="150.6631" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="138" x="26" y="153.3203">setUsername($username)</text><ellipse cx="17" cy="163.6182" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="53" x="26" y="166.2754">getEmail()</text><ellipse cx="17" cy="176.5732" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="87" x="26" y="179.2305">setEmail($email)</text><rect fill="#FEFECE" filter="url(#f1)" height="125.7305" style="stroke: #A80036; stroke-width: 1.5;" width="179" x="368" y="34"/><ellipse cx="417.75" cy="50" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M420.7231,55.6431 Q420.1421,55.9419 419.5029,56.0913 Q418.8638,56.2407 418.1582,56.2407 Q415.6514,56.2407 414.3315,54.5889 Q413.0117,52.937 413.0117,49.8159 Q413.0117,46.6865 414.3315,45.0347 Q415.6514,43.3828 418.1582,43.3828 Q418.8638,43.3828 419.5112,43.5322 Q420.1587,43.6816 420.7231,43.9805 L420.7231,46.7031 Q420.0923,46.1221 419.4988,45.8523 Q418.9053,45.5825 418.2744,45.5825 Q416.9297,45.5825 416.2449,46.6492 Q415.5601,47.7158 415.5601,49.8159 Q415.5601,51.9077 416.2449,52.9744 Q416.9297,54.041 418.2744,54.041 Q418.9053,54.041 419.4988,53.7712 Q420.0923,53.5015 420.7231,52.9204 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="71" x="438.25" y="54.5352">UserMapper</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="369" x2="546" y1="66" y2="66"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="103" x="374" y="80.6348">protected $adapter</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="369" x2="546" y1="86.9551" y2="86.9551"/><ellipse cx="379" cy="98.9326" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="153" x="388" y="101.5898">__construct(DBAL $dbLayer)</text><ellipse cx="379" cy="111.8877" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="91" x="388" y="114.5449">save(User $user)</text><ellipse cx="379" cy="124.8428" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="68" x="388" y="127.5">findById($id)</text><ellipse cx="379" cy="137.7979" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="43" x="388" y="140.4551">findAll()</text><ellipse cx="379" cy="150.7529" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="124" x="388" y="153.4102">mapObject(array $row)</text></g></svg>