1 | <?php |
||
26 | abstract class AbstractFacebookBlockService extends AbstractBlockService implements EditableBlockService, LoggerAwareInterface |
||
27 | { |
||
28 | use LoggerAwareTrait; |
||
29 | |||
30 | /** |
||
31 | * @var Facebook |
||
32 | */ |
||
33 | private $facebook; |
||
34 | |||
35 | public function __construct(string $name, EngineInterface $templating, Facebook $connection) |
||
42 | |||
43 | public function configureCreateForm(FormMapper $form, BlockInterface $block): void |
||
47 | |||
48 | public function validate(ErrorElement $errorElement, BlockInterface $block): void |
||
51 | |||
52 | public function getName(): string |
||
56 | |||
57 | protected function getFacebook(): Facebook |
||
61 | |||
62 | final protected function getAccessToken(): AccessToken |
||
66 | } |
||
67 |