Tailor\Classes\SchemaPruner

Overview

SchemaPruner prunes tables for tailor content


Protected Properties

protected array $prunedTables

protected array $prunedFields


Public Methods

public getPrunedFields()

public getPrunedFields(): array 

public getPrunedTables()

public getPrunedTables(): array 

public static pruneAll()

public static pruneAll(): static 

pruneAll unused fields in a blueprint

public static pruneBlueprint()

public static pruneBlueprint($blueprint): static 

public pruneFields()

public pruneFields($schema): void

public pruneTable()

public pruneTable($schema): void

public static pruneTables()

public static pruneTables(): static 

pruneTables removes tables that have no associated blueprint

Protected Methods

protected findBlueprintFromSchema()

protected findBlueprintFromSchema($schema): Tailor\Classes\Blueprint|null