EvilFreelancer/bookeo-api-php

View on GitHub
src/Models/PhoneNumber.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Bookeo\Models;

use Bookeo\Model;

class PhoneNumber extends Model
{
    /**
     * List of allowed fields
     *
     * @return array
     */
    public function allowed(): array
    {
        return [
            'number' => 'string',
            'type'   => 'string', // ['mobile' or 'work' or 'home' or 'fax']
        ];
    }
}