# Провести код ревью ```php= <?php class ExampleClass extends AbstractClass { private $variable = 1; private DataMapper $dataMapper; public function __construct(string $variable) { $this->variable = $variable; $this->dataMapper = new DataMapper(); $this->serializer = new ApiPlatform\Core\Serializer\(); } public function getVariable() { return $this->variable; } /** * @return DataMapper */ public function getDataMapper(): DataMapper { return $this->dataMapper; } /** * @param DataMapper $dataMapper * @return StrongExapmle */ public function setDataMapper(DataMapper $dataMapper): StrongExapmle { $this->dataMapper = $dataMapper; return $this; } } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up