Skip to content
Snippets Groups Projects
Platform.php 938 B
Newer Older
  • Learn to ignore specific revisions
  •  * @copyright  2020 Ad Aures
    
     * @license    https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
     * @link       https://castopod.org/
     */
    
    namespace App\Entities;
    
    
    /**
     * @property string $slug
     * @property string $type
     * @property string $label
     * @property string $home_url
     * @property string|null $submit_url
     * @property string|null $link_url
    
     * @property bool|null $is_visible
    
     * @property bool|null $is_on_embed
    
    class Platform extends Entity
    {
    
        protected $casts = [
    
            'slug' => 'string',
            'type' => 'string',
    
            'label' => 'string',
            'home_url' => 'string',
            'submit_url' => '?string',
            'link_url' => '?string',
    
            'is_visible' => '?boolean',
    
            'is_on_embed' => '?boolean',