for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Exsio\PhpObjectDecorator\Tests\Fixtures;
class ChildObjectToDecorate extends ObjectToDecorate
{
public string $publicProperty;
protected string $protectedProperty;
private string $privateProperty;
/**
* @param string $publicProperty
*/
public function __construct()
parent::__construct();
$this->publicProperty = "childPropertyValue";
$this->protectedProperty = "childPropertyValue";
$this->privateProperty = "childPropertyValue";
}
public function callInChild(): string
return "CHILD";
* @return string
public function getChildPublicProperty(): string
return $this->publicProperty;
public function getChildProtectedProperty(): string
return $this->protectedProperty;
public function getChildPrivateProperty(): string
return $this->privateProperty;