File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed
Resources/config/doctrine Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Task \TaskBundle \Entity ;
4+
5+ use Task \Task as BaseTask ;
6+
7+ class Task extends BaseTask
8+ {
9+ /**
10+ * @var int
11+ */
12+ private $ id ;
13+
14+ /**
15+ * @return int
16+ */
17+ public function getId ()
18+ {
19+ return $ this ->id ;
20+ }
21+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <doctrine-mapping xmlns =" http://doctrine-project.org/schemas/orm/doctrine-mapping"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd" >
5+ <entity name =" Task\TaskBundle\Entity\TaskContainer" table =" tasks" >
6+ <id name =" id" type =" integer" >
7+ <generator strategy =" AUTO" />
8+ </id >
9+
10+ <field name =" task" type =" object" />
11+ <field name =" completed" type =" boolean" />
12+ </entity >
13+ </doctrine-mapping >
Original file line number Diff line number Diff line change 99use Task \Storage \StorageInterface ;
1010use Task \Task ;
1111
12- class Test extends KernelTestCase
12+ class SchedulerTest extends KernelTestCase
1313{
1414 /**
1515 * @var SchedulerInterface
You can’t perform that action at this time.
0 commit comments