mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-27 06:49:11 +02:00
1 line
7.1 KiB
XML
1 line
7.1 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:661px;height:194px;" version="1.1" viewBox="0 0 661 194" width="661pt"><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="432" x="6" y="8"/><ellipse cx="204.75" cy="24" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M207.7231,29.6431 Q207.1421,29.9419 206.5029,30.0913 Q205.8638,30.2407 205.1582,30.2407 Q202.6514,30.2407 201.3315,28.5889 Q200.0117,26.937 200.0117,23.8159 Q200.0117,20.6865 201.3315,19.0347 Q202.6514,17.3828 205.1582,17.3828 Q205.8638,17.3828 206.5112,17.5322 Q207.1587,17.6816 207.7231,17.9805 L207.7231,20.7031 Q207.0923,20.1221 206.4988,19.8523 Q205.9053,19.5825 205.2744,19.5825 Q203.9297,19.5825 203.2449,20.6492 Q202.5601,21.7158 202.5601,23.8159 Q202.5601,25.9077 203.2449,26.9744 Q203.9297,28.041 205.2744,28.041 Q205.9053,28.041 206.4988,27.7712 Q207.0923,27.5015 207.7231,26.9204 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="26" x="225.25" y="28.5352">User</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="437" y1="40" y2="40"/><polygon fill="none" points="17,46.9775,21,50.9775,17,54.9775,13,50.9775" style="stroke: #B38D22; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="64" x="26" y="54.6348">$userId : int</text><polygon fill="none" points="17,59.9326,21,63.9326,17,67.9326,13,63.9326" style="stroke: #B38D22; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="101" x="26" y="67.5898">$username : string</text><polygon fill="none" points="17,72.8877,21,76.8877,17,80.8877,13,76.8877" style="stroke: #B38D22; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="76" x="26" y="80.5449">$email : string</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="437" 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="406" x="26" y="101.5">__construct($id = null : int, $username = null : string, $email = null : string)</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="124" x="26" y="127.4102">setUserID($userId : int)</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="179" x="26" y="153.3203">setUsername($username : string)</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="128" x="26" y="179.2305">setEmail($email : string)</text><rect fill="#FEFECE" filter="url(#f1)" height="125.7305" style="stroke: #A80036; stroke-width: 1.5;" width="179" x="473.75" y="34"/><ellipse cx="523.5" cy="50" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M526.4731,55.6431 Q525.8921,55.9419 525.2529,56.0913 Q524.6138,56.2407 523.9082,56.2407 Q521.4014,56.2407 520.0815,54.5889 Q518.7617,52.937 518.7617,49.8159 Q518.7617,46.6865 520.0815,45.0347 Q521.4014,43.3828 523.9082,43.3828 Q524.6138,43.3828 525.2612,43.5322 Q525.9087,43.6816 526.4731,43.9805 L526.4731,46.7031 Q525.8423,46.1221 525.2488,45.8523 Q524.6553,45.5825 524.0244,45.5825 Q522.6797,45.5825 521.9949,46.6492 Q521.3101,47.7158 521.3101,49.8159 Q521.3101,51.9077 521.9949,52.9744 Q522.6797,54.041 524.0244,54.041 Q524.6553,54.041 525.2488,53.7712 Q525.8423,53.5015 526.4731,52.9204 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="71" x="544" y="54.5352">UserMapper</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="474.75" x2="651.75" y1="66" y2="66"/><polygon fill="none" points="484.75,72.9775,488.75,76.9775,484.75,80.9775,480.75,76.9775" style="stroke: #B38D22; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="85" x="493.75" y="80.6348">$adapter : DBAL</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="474.75" x2="651.75" y1="86.9551" y2="86.9551"/><ellipse cx="484.75" 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="493.75" y="101.5898">__construct(DBAL $dbLayer)</text><ellipse cx="484.75" 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="493.75" y="114.5449">save(User $user)</text><ellipse cx="484.75" 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="91" x="493.75" y="127.5">findById($id : int)</text><ellipse cx="484.75" 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="493.75" y="140.4551">findAll()</text><polygon fill="#FFFF44" points="484.75,145.7529,488.75,149.7529,484.75,153.7529,480.75,149.7529" style="stroke: #B38D22; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="124" x="493.75" y="153.4102">mapObject(array $row)</text></g></svg> |