for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Exsio\PhpObjectDecorator\Tests\Fixtures;
abstract class ObjectToDecorate
{
public string $publicProperty;
protected string $protectedProperty;
private string $privateProperty;
public function __construct()
$this->publicProperty = "propertyValue";
$this->protectedProperty = "propertyValue";
$this->privateProperty = "propertyValue";
}
use ObjectToDecorateTrait;
public function callInParent(): string
return "PARENT";
/**
* @return string
*/
public function getPrivateProperty(): string
return $this->privateProperty;
public function getPublicProperty(): string
return $this->publicProperty;
public function getProtectedProperty(): string
return $this->protectedProperty;
protected function protectedContent(): string
return "PROTECTED_CONTENT";