5b: Add getTitle() method

> Failed asserting that two strings are identical
This commit is contained in:
Oliver Davies 2020-11-14 09:59:31 +00:00
parent 07ad4dc2b1
commit 1fe7119b5d

View file

@ -2,4 +2,10 @@
namespace Drupal\my_module\Entity;
class Post {}
class Post {
public function getTitle(): string {
return '';
}
}