jonaswouters /
XhprofBundle
This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Jns\Bundle\XhprofBundle\Entity; |
||
| 4 | |||
| 5 | use Doctrine\ORM\Mapping as ORM; |
||
| 6 | |||
| 7 | class XhprofDetail |
||
| 8 | { |
||
| 9 | protected $id; |
||
| 10 | |||
| 11 | protected $url; |
||
| 12 | |||
| 13 | protected $canonicalUrl; |
||
| 14 | |||
| 15 | protected $serverName; |
||
| 16 | |||
| 17 | protected $type; |
||
| 18 | |||
| 19 | protected $perfData; |
||
| 20 | |||
| 21 | protected $cookie; |
||
| 22 | |||
| 23 | protected $post; |
||
| 24 | |||
| 25 | protected $get; |
||
| 26 | |||
| 27 | protected $pmu; |
||
| 28 | |||
| 29 | protected $wt; |
||
| 30 | |||
| 31 | protected $cpu; |
||
| 32 | |||
| 33 | protected $serverId; |
||
| 34 | |||
| 35 | protected $aggregateCallsInclude; |
||
| 36 | |||
| 37 | protected $timestamp; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Get id. |
||
| 41 | * |
||
| 42 | * @return id. |
||
|
0 ignored issues
–
show
|
|||
| 43 | */ |
||
| 44 | public function getId() |
||
| 45 | { |
||
| 46 | return $this->id; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Set id. |
||
| 51 | * |
||
| 52 | * @param id the value to set. |
||
| 53 | */ |
||
| 54 | public function setId($id) |
||
| 55 | { |
||
| 56 | $this->id = $id; |
||
| 57 | return $this; |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Get url. |
||
| 62 | * |
||
| 63 | * @return url. |
||
|
0 ignored issues
–
show
The doc-type
url. could not be parsed: Unknown type name "url." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 64 | */ |
||
| 65 | public function getUrl() |
||
| 66 | { |
||
| 67 | return $this->url; |
||
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Set url. |
||
| 72 | * |
||
| 73 | * @param url the value to set. |
||
| 74 | */ |
||
| 75 | public function setUrl($url) |
||
| 76 | { |
||
| 77 | $this->url = $url; |
||
| 78 | return $this; |
||
| 79 | } |
||
| 80 | |||
| 81 | /** |
||
| 82 | * Get canonicalUrl. |
||
| 83 | * |
||
| 84 | * @return canonicalUrl. |
||
|
0 ignored issues
–
show
The doc-type
canonicalUrl. could not be parsed: Unknown type name "canonicalUrl." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 85 | */ |
||
| 86 | public function getCanonicalUrl() |
||
| 87 | { |
||
| 88 | return $this->canonicalUrl; |
||
| 89 | } |
||
| 90 | |||
| 91 | /** |
||
| 92 | * Set canonicalUrl. |
||
| 93 | * |
||
| 94 | * @param canonicalUrl the value to set. |
||
| 95 | */ |
||
| 96 | public function setCanonicalUrl($canonicalUrl) |
||
| 97 | { |
||
| 98 | $this->canonicalUrl = $canonicalUrl; |
||
| 99 | return $this; |
||
| 100 | } |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Get serverName. |
||
| 104 | * |
||
| 105 | * @return serverName. |
||
|
0 ignored issues
–
show
The doc-type
serverName. could not be parsed: Unknown type name "serverName." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 106 | */ |
||
| 107 | public function getServerName() |
||
| 108 | { |
||
| 109 | return $this->serverName; |
||
| 110 | } |
||
| 111 | |||
| 112 | /** |
||
| 113 | * Set serverName. |
||
| 114 | * |
||
| 115 | * @param serverName the value to set. |
||
| 116 | */ |
||
| 117 | public function setServerName($serverName) |
||
| 118 | { |
||
| 119 | $this->serverName = $serverName; |
||
| 120 | return $this; |
||
| 121 | } |
||
| 122 | |||
| 123 | /** |
||
| 124 | * Get perfData. |
||
| 125 | * |
||
| 126 | * @return perfData. |
||
|
0 ignored issues
–
show
The doc-type
perfData. could not be parsed: Unknown type name "perfData." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 127 | */ |
||
| 128 | public function getPerfData() |
||
| 129 | { |
||
| 130 | return $this->perfData; |
||
| 131 | } |
||
| 132 | |||
| 133 | /** |
||
| 134 | * Set perfData. |
||
| 135 | * |
||
| 136 | * @param perfData the value to set. |
||
| 137 | */ |
||
| 138 | public function setPerfData($perfData) |
||
| 139 | { |
||
| 140 | $this->perfData = $perfData; |
||
| 141 | return $this; |
||
| 142 | } |
||
| 143 | |||
| 144 | /** |
||
| 145 | * Get cookie. |
||
| 146 | * |
||
| 147 | * @return cookie. |
||
|
0 ignored issues
–
show
The doc-type
cookie. could not be parsed: Unknown type name "cookie." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 148 | */ |
||
| 149 | public function getCookie() |
||
| 150 | { |
||
| 151 | return $this->cookie; |
||
| 152 | } |
||
| 153 | |||
| 154 | /** |
||
| 155 | * Set cookie. |
||
| 156 | * |
||
| 157 | * @param cookie the value to set. |
||
| 158 | */ |
||
| 159 | public function setCookie($cookie) |
||
| 160 | { |
||
| 161 | $this->cookie = $cookie; |
||
| 162 | return $this; |
||
| 163 | } |
||
| 164 | |||
| 165 | /** |
||
| 166 | * Get post. |
||
| 167 | * |
||
| 168 | * @return post. |
||
|
0 ignored issues
–
show
The doc-type
post. could not be parsed: Unknown type name "post." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 169 | */ |
||
| 170 | public function getPost() |
||
| 171 | { |
||
| 172 | return $this->post; |
||
| 173 | } |
||
| 174 | |||
| 175 | /** |
||
| 176 | * Set post. |
||
| 177 | * |
||
| 178 | * @param post the value to set. |
||
| 179 | */ |
||
| 180 | public function setPost($post) |
||
| 181 | { |
||
| 182 | $this->post = $post; |
||
| 183 | return $this; |
||
| 184 | } |
||
| 185 | |||
| 186 | /** |
||
| 187 | * Get get. |
||
| 188 | * |
||
| 189 | * @return get. |
||
|
0 ignored issues
–
show
The doc-type
get. could not be parsed: Unknown type name "get." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 190 | */ |
||
| 191 | public function getGet() |
||
| 192 | { |
||
| 193 | return $this->get; |
||
| 194 | } |
||
| 195 | |||
| 196 | /** |
||
| 197 | * Set get. |
||
| 198 | * |
||
| 199 | * @param get the value to set. |
||
| 200 | */ |
||
| 201 | public function setGet($get) |
||
| 202 | { |
||
| 203 | $this->get = $get; |
||
| 204 | return $this; |
||
| 205 | } |
||
| 206 | |||
| 207 | /** |
||
| 208 | * Get pmu. |
||
| 209 | * |
||
| 210 | * @return pmu. |
||
|
0 ignored issues
–
show
The doc-type
pmu. could not be parsed: Unknown type name "pmu." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 211 | */ |
||
| 212 | public function getPmu() |
||
| 213 | { |
||
| 214 | return $this->pmu; |
||
| 215 | } |
||
| 216 | |||
| 217 | /** |
||
| 218 | * Set pmu. |
||
| 219 | * |
||
| 220 | * @param pmu the value to set. |
||
| 221 | */ |
||
| 222 | public function setPmu($pmu) |
||
| 223 | { |
||
| 224 | $this->pmu = $pmu; |
||
| 225 | return $this; |
||
| 226 | } |
||
| 227 | |||
| 228 | /** |
||
| 229 | * Get wt. |
||
| 230 | * |
||
| 231 | * @return wt. |
||
|
0 ignored issues
–
show
The doc-type
wt. could not be parsed: Unknown type name "wt." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 232 | */ |
||
| 233 | public function getWt() |
||
| 234 | { |
||
| 235 | return $this->wt; |
||
| 236 | } |
||
| 237 | |||
| 238 | /** |
||
| 239 | * Set wt. |
||
| 240 | * |
||
| 241 | * @param wt the value to set. |
||
| 242 | */ |
||
| 243 | public function setWt($wt) |
||
| 244 | { |
||
| 245 | $this->wt = $wt; |
||
| 246 | return $this; |
||
| 247 | } |
||
| 248 | |||
| 249 | /** |
||
| 250 | * Get cpu. |
||
| 251 | * |
||
| 252 | * @return cpu. |
||
|
0 ignored issues
–
show
The doc-type
cpu. could not be parsed: Unknown type name "cpu." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 253 | */ |
||
| 254 | public function getCpu() |
||
| 255 | { |
||
| 256 | return $this->cpu; |
||
| 257 | } |
||
| 258 | |||
| 259 | /** |
||
| 260 | * Set cpu. |
||
| 261 | * |
||
| 262 | * @param cpu the value to set. |
||
| 263 | */ |
||
| 264 | public function setCpu($cpu) |
||
| 265 | { |
||
| 266 | $this->cpu = $cpu; |
||
| 267 | return $this; |
||
| 268 | } |
||
| 269 | |||
| 270 | /** |
||
| 271 | * Get serverId. |
||
| 272 | * |
||
| 273 | * @return serverId. |
||
|
0 ignored issues
–
show
The doc-type
serverId. could not be parsed: Unknown type name "serverId." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 274 | */ |
||
| 275 | public function getServerId() |
||
| 276 | { |
||
| 277 | return $this->serverId; |
||
| 278 | } |
||
| 279 | |||
| 280 | /** |
||
| 281 | * Set serverId. |
||
| 282 | * |
||
| 283 | * @param serverId the value to set. |
||
| 284 | */ |
||
| 285 | public function setServerId($serverId) |
||
| 286 | { |
||
| 287 | $this->serverId = $serverId; |
||
| 288 | return $this; |
||
| 289 | } |
||
| 290 | |||
| 291 | /** |
||
| 292 | * Get type. |
||
| 293 | * |
||
| 294 | * @return type. |
||
|
0 ignored issues
–
show
The doc-type
type. could not be parsed: Unknown type name "type." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 295 | */ |
||
| 296 | public function getType() |
||
| 297 | { |
||
| 298 | return $this->type; |
||
| 299 | } |
||
| 300 | |||
| 301 | /** |
||
| 302 | * Set type. |
||
| 303 | * |
||
| 304 | * @param type the value to set. |
||
| 305 | */ |
||
| 306 | public function setType($type) |
||
| 307 | { |
||
| 308 | $this->type = $type; |
||
| 309 | return $this; |
||
| 310 | } |
||
| 311 | |||
| 312 | /** |
||
| 313 | * Get timestamp. |
||
| 314 | * |
||
| 315 | * @return timestamp. |
||
|
0 ignored issues
–
show
The doc-type
timestamp. could not be parsed: Unknown type name "timestamp." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 316 | */ |
||
| 317 | public function getTimestamp() |
||
| 318 | { |
||
| 319 | return $this->timestamp; |
||
| 320 | } |
||
| 321 | |||
| 322 | /** |
||
| 323 | * Set timestamp. |
||
| 324 | * |
||
| 325 | * @param timestamp \DateTime value to set. |
||
| 326 | */ |
||
| 327 | public function setTimestamp($timestamp) |
||
| 328 | { |
||
| 329 | $this->timestamp = $timestamp; |
||
| 330 | } |
||
| 331 | |||
| 332 | public function __toString() |
||
| 333 | { |
||
| 334 | return $this->getId(); |
||
| 335 | } |
||
| 336 | |||
| 337 | /** |
||
| 338 | * @ORM\PrePersist |
||
| 339 | */ |
||
| 340 | public function beforePersist() |
||
| 341 | { |
||
| 342 | $this->setTimestamp(new \DateTime()); |
||
| 343 | } |
||
| 344 | |||
| 345 | /** |
||
| 346 | * Get aggregateCallsInclude. |
||
| 347 | * |
||
| 348 | * @return aggregateCallsInclude. |
||
|
0 ignored issues
–
show
The doc-type
aggregateCallsInclude. could not be parsed: Unknown type name "aggregateCallsInclude." at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. Loading history...
|
|||
| 349 | */ |
||
| 350 | public function getAggregateCallsInclude() |
||
| 351 | { |
||
| 352 | return $this->aggregateCallsInclude; |
||
| 353 | } |
||
| 354 | |||
| 355 | /** |
||
| 356 | * Set aggregateCallsInclude. |
||
| 357 | * |
||
| 358 | * @param aggregateCallsInclude the value to set. |
||
| 359 | */ |
||
| 360 | public function setAggregateCallsInclude($aggregateCallsInclude) |
||
| 361 | { |
||
| 362 | $this->aggregateCallsInclude = $aggregateCallsInclude; |
||
| 363 | return $this; |
||
| 364 | } |
||
| 365 | } |
||
| 366 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.