. * */ namespace Friendica\Test\Util\Hooks\InstanceMocks; use Friendica\Core\Hooks\Capabilities\IAmAStrategy; class FakeInstance implements IAmADecoratedInterface, IAmAStrategy { protected $aText = null; protected $cBool = null; protected $bText = null; public function __construct(string $aText = null, bool $cBool = null, string $bText = null) { $this->aText = $aText; $this->cBool = $cBool; $this->bText = $bText; } public function createSomething(string $aText, bool $cBool, string $bText): string { $this->aText = $aText; $this->cBool = $cBool; $this->bText = $bText; } public function getAText(): ?string { return $this->aText; } public function getBText(): ?string { return $this->bText; } public function getCBool(): ?bool { return $this->cBool; } }