final class PlanParser

Reads the relation syntax of DBML into a plan.

order.id < order_detail.order_id order_detail.order_id > order.id order.id - order_shipping.order_id order.(shop_id, no) < order_detail.(shop_id, order_no) order.id < [order_detail.order_id, shipment.order_id] order_detail.order_id >? order.id

Relations are separated by a comma or a newline. A plan naming a single table and no relation is just that table name, so every table name is already a valid plan.

Methods§

public function parse(string $plan): FixturePlan

Parameters

$planstring
Test cases 30
Called from 1
Calls 10

Test cases 59§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 22
Other tests reaching this symbol 37

Relations§

Instantiated in 1
Method calls 1