src/Foundation/DraftingHandler.php
/**
     * Registers a new draftable.
     *
     * @param null $draftable
     */
Registers a new draftable.
@param null $draftable
Registers a new draftable . @param null $draftable
public function registerDraftable($draftable)
    {
        if (method_exists($draftable, 'bootDraftable')) {
            $this->draftables[] = $draftable;
        }
    }
public function registerDraftable ( $ draftable ) { if ( method_exists ( $ draftable , 'bootDraftable' ) ) { $ this -> draftables [ ] = $ draftable ; } }
Registers a new draftable.
Registers a new draftable .
// Check if class uses Draftable trait