for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Superdesk Web Publisher Content Bundle.
*
* Copyright 2020 Sourcefabric z.ú. and contributors.
* For the full copyright and license information, please see the
* AUTHORS and LICENSE files distributed with this source code.
* @copyright 2020 Sourcefabric z.ú
* @license http://www.superdesk.org/license
*/
declare(strict_types=1);
namespace SWP\Bundle\ContentBundle\Model;
abstract class ArticleExtraField implements ArticleExtraFieldInterface
{
/** @var int */
protected $id;
/** @var ArticleInterface */
protected $article;
/** @var string */
protected $fieldName;
public function getId(): int
return $this->id;
}
public function getArticle(): ?ArticleInterface
return $this->article;
public function setArticle(?ArticleInterface $article): void
$this->article = $article;
public function getFieldName(): ?string
return $this->fieldName;
public function setFieldName(?string $fieldName): void
$this->fieldName = $fieldName;