5b: Add getTitle() method
> Failed asserting that two strings are identical
This commit is contained in:
parent
07ad4dc2b1
commit
1fe7119b5d
|
@ -2,4 +2,10 @@
|
||||||
|
|
||||||
namespace Drupal\my_module\Entity;
|
namespace Drupal\my_module\Entity;
|
||||||
|
|
||||||
class Post {}
|
class Post {
|
||||||
|
|
||||||
|
public function getTitle(): string {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue