mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-13 09:22:20 +02:00
1 line
6.8 KiB
XML
1 line
6.8 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="138.6855" style="stroke: #A80036; stroke-width: 1.5;" width="179" x="368" y="27.5"/><ellipse cx="417.75" cy="43.5" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M420.7231,49.1431 Q420.1421,49.4419 419.5029,49.5913 Q418.8638,49.7407 418.1582,49.7407 Q415.6514,49.7407 414.3315,48.0889 Q413.0117,46.437 413.0117,43.3159 Q413.0117,40.1865 414.3315,38.5347 Q415.6514,36.8828 418.1582,36.8828 Q418.8638,36.8828 419.5112,37.0322 Q420.1587,37.1816 420.7231,37.4805 L420.7231,40.2031 Q420.0923,39.6221 419.4988,39.3523 Q418.9053,39.0825 418.2744,39.0825 Q416.9297,39.0825 416.2449,40.1492 Q415.5601,41.2158 415.5601,43.3159 Q415.5601,45.4077 416.2449,46.4744 Q416.9297,47.541 418.2744,47.541 Q418.9053,47.541 419.4988,47.2712 Q420.0923,47.0015 420.7231,46.4204 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="71" x="438.25" y="48.0352">UserMapper</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="369" x2="546" y1="59.5" y2="59.5"/><polygon fill="none" points="379,66.4775,383,70.4775,379,74.4775,375,70.4775" style="stroke: #B38D22; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="65" x="388" y="74.1348">$user : User</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="103" x="388" y="87.0898">protected $adapter</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="369" x2="546" y1="93.4102" y2="93.4102"/><ellipse cx="379" cy="105.3877" 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="108.0449">__construct(DBAL $dbLayer)</text><ellipse cx="379" cy="118.3428" 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="121">save(User $user)</text><ellipse cx="379" cy="131.2979" 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="133.9551">findById($id)</text><ellipse cx="379" cy="144.2529" 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="146.9102">findAll()</text><ellipse cx="379" cy="157.208" 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="159.8652">mapObject(array $row)</text></g></svg> |