for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the geo-api-library package.
*
* (c) 2020 WEBEWEB
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\GeoAPI\Model\Attribute;
/**
* String code trait.
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\GeoAPI\Model\Attribute
trait StringCodeTrait {
* Code.
* @var string
private $code;
* Get the code.
* @return string Returns the code.
public function getCode() {
return $this->code;
}
* Set the code.
* @param string $code The code.
public function setCode($code) {
$this->code = $code;
return $this;