bridge/doctrine-orm/tests/Functional/OrmTestCase.php 1 location
|
@@ 24-33 (lines=10) @@
|
| 21 |
|
$schemaTool->createSchema($metadatas); |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
protected function createImage($path, $width, $height, $mimeType) |
| 25 |
|
{ |
| 26 |
|
$image = new Image(); |
| 27 |
|
$image->path = $path; |
| 28 |
|
$image->width = $width; |
| 29 |
|
$image->height = $height; |
| 30 |
|
$image->mimetype = $mimeType; |
| 31 |
|
|
| 32 |
|
return $image; |
| 33 |
|
} |
| 34 |
|
} |
| 35 |
|
|
bridge/doctrine-phpcr-odm/tests/Functional/PhpcrOdmTestCase.php 1 location
|
@@ 28-37 (lines=10) @@
|
| 25 |
|
$rootNode->addNode('test'); |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
protected function createImage($path, $width, $height, $mimeType) |
| 29 |
|
{ |
| 30 |
|
$image = new Image(); |
| 31 |
|
$image->path = $path; |
| 32 |
|
$image->width = $width; |
| 33 |
|
$image->height = $height; |
| 34 |
|
$image->mimetype = $mimeType; |
| 35 |
|
|
| 36 |
|
return $image; |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
protected function createArticleSlideshow() |
| 40 |
|
{ |