Sets the property shorthand flag that is true when the property is declared using an identifier and without a value
bool $shorthand Property shorthand flag:
$this
public function setShorthand($shorthand) { $this->shorthand = (bool) $shorthand; return $this; }