for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the core-library package.
*
* (c) 2018 WEBEWEB
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\Core\Model\Contact;
* Phone numbers trait.
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\Core\Model\Contact
trait PhoneNumbersTrait {
* Mobile number.
* @var string
private $mobileNumber;
* Phone number.
private $phoneNumber;
* Get the mobile number.
* @return string Returns the mobile number.
public function getMobileNumber() {
return $this->mobileNumber;
}
* Get the phone number.
* @return string Returns the phone number.
public function getPhoneNumber() {
return $this->phoneNumber;
* Set the mobile number.
* @param string $mobileNumber
* @return mixed Returns the class using this trait.
public function setMobileNumber($mobileNumber) {
$this->mobileNumber = $mobileNumber;
return $this;
* Set the phone number.
* @param string $phoneNumber The phone number.
public function setPhoneNumber($phoneNumber) {
$this->phoneNumber = $phoneNumber;