O:39:"phpDocumentor\Descriptor\FileDescriptor":21:{s:7:"*hash";s:32:"8d021a487bc1e17f23dbadfb6d6e4102";s:7:"*path";s:17:"examples\rect.php";s:9:"*source";s:1336:"<?php
include_once('../src/SVGCreator/Element.php');
include_once('../src/SVGCreator/SVGException.php');
include_once('../src/SVGCreator/Elements/Rect.php');
include_once('../src/SVGCreator/Elements/Group.php');
include_once('../src/SVGCreator/Elements/Svg.php');
include_once('../src/SVGCreator/Elements/Circle.php');
include_once('../src/SVGCreator/Elements/Marker.php');
include_once('../src/SVGCreator/Elements/Defs.php');
include_once('../src/SVGCreator/Elements/Line.php');
include_once('../src/SVGCreator/Elements/Path.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Rect Example</title>
</head>
<body>
<section>
<?php
$attributesSvg = array(
'width' => 1000,
'height' => 1000
);
$svg = new \SVGCreator\Elements\Svg($attributesSvg);
$svg->append(\SVGCreator\Element::RECT)
->attr('width', 25)
->attr('height', 10)
->attr('style', 'fill:rgb(0,0,255);')
->attr('x', 50)
->attr('y', 60);
$svg->append(new \SVGCreator\Elements\Rect())
->attr('width', 45)
->attr('height', 40)
->attr('fill', '#ff0000')
->attr('x', 300)
->attr('y', 250);
echo $svg->getString();
?>
</section>
</body>
</html>";s:20:"*namespace_aliases";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:11:"*includes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:10:{i:0;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:29:"../src/SVGCreator/Element.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:3;s:7:"endLine";i:3;s:13:"originalValue";s:31:"'../src/SVGCreator/Element.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:3:{s:9:"startLine";i:3;s:7:"endLine";i:3;s:8:"comments";a:0:{}}}s:23:"*default_package_name";s:0:"";s:10:"*context";O:41:"phpDocumentor\Reflection\DocBlock\Context":3:{s:12:"*namespace";s:0:"";s:20:"*namespace_aliases";a:0:{}s:7:"*lsen";s:0:"";}}i:1;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:34:"../src/SVGCreator/SVGException.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:4;s:7:"endLine";i:4;s:13:"originalValue";s:36:"'../src/SVGCreator/SVGException.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:4;s:7:"endLine";i:4;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:2;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:35:"../src/SVGCreator/Elements/Rect.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:5;s:7:"endLine";i:5;s:13:"originalValue";s:37:"'../src/SVGCreator/Elements/Rect.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:5;s:7:"endLine";i:5;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:3;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:36:"../src/SVGCreator/Elements/Group.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:6;s:7:"endLine";i:6;s:13:"originalValue";s:38:"'../src/SVGCreator/Elements/Group.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:6;s:7:"endLine";i:6;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:4;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:34:"../src/SVGCreator/Elements/Svg.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:7;s:7:"endLine";i:7;s:13:"originalValue";s:36:"'../src/SVGCreator/Elements/Svg.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:7;s:7:"endLine";i:7;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:5;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:37:"../src/SVGCreator/Elements/Circle.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:8;s:7:"endLine";i:8;s:13:"originalValue";s:39:"'../src/SVGCreator/Elements/Circle.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:8;s:7:"endLine";i:8;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:6;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:37:"../src/SVGCreator/Elements/Marker.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:9;s:7:"endLine";i:9;s:13:"originalValue";s:39:"'../src/SVGCreator/Elements/Marker.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:9;s:7:"endLine";i:9;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:7;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:35:"../src/SVGCreator/Elements/Defs.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:10;s:7:"endLine";i:10;s:13:"originalValue";s:37:"'../src/SVGCreator/Elements/Defs.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:10;s:7:"endLine";i:10;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:8;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:35:"../src/SVGCreator/Elements/Line.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:11;s:7:"endLine";i:11;s:13:"originalValue";s:37:"'../src/SVGCreator/Elements/Line.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:11;s:7:"endLine";i:11;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}i:9;O:41:"phpDocumentor\Reflection\IncludeReflector":3:{s:7:"*node";O:27:"PHPParser_Node_Expr_Include":2:{s:11:"*subNodes";a:2:{s:4:"expr";O:28:"PHPParser_Node_Scalar_String":2:{s:11:"*subNodes";a:1:{s:5:"value";s:35:"../src/SVGCreator/Elements/Path.php";}s:13:"*attributes";a:3:{s:9:"startLine";i:12;s:7:"endLine";i:12;s:13:"originalValue";s:37:"'../src/SVGCreator/Elements/Path.php'";}}s:4:"type";i:2;}s:13:"*attributes";a:2:{s:9:"startLine";i:12;s:7:"endLine";i:12;}}s:23:"*default_package_name";s:0:"";s:10:"*context";r:25;}}}s:12:"*constants";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:12:"*functions";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:10:"*classes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:13:"*interfaces";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:9:"*traits";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:10:"*markers";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:8:"*fqsen";s:0:"";s:7:"*name";s:8:"rect.php";s:12:"*namespace";N;s:10:"*package";s:7:"Default";s:10:"*summary";s:0:"";s:14:"*description";s:0:"";s:17:"*fileDescriptor";N;s:7:"*line";i:0;s:7:"*tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:2:{s:7:"package";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}s:10:"subpackage";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:0:{}}}}s:9:"*errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:"*items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:"*severity";s:5:"error";s:7:"*code";s:13:"PPC:ERR-50000";s:7:"*line";i:0;s:10:"*context";a:1:{i:0;s:0:"";}}}}}
|