for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Flagbit\Plantuml\TokenReflection;
class WriterOptions
{
private $withoutFunctionParameter = false;
private $maxLineLength = null;
public function __set($optionName, $value)
switch($optionName)
case 'withoutFunctionParameter':
$this->withoutFunctionParameter = (bool) $value;
break;
case 'maxLineLength':
$this->maxLineLength = (int) $value;
}
public function __get($optionName)
return $this->withoutFunctionParameter;
return $this->maxLineLength;