['type' => 'uuid', 'null' => false], 'url' => ['type' => 'text', 'null' => false], 'content_type' => ['type' => 'string'], 'status_code' => ['type' => 'integer'], 'method' => ['type' => 'string'], 'requested_at' => ['type' => 'datetime', 'null' => false], '_constraints' => [ 'primary' => ['type' => 'primary', 'columns' => ['id']], ], ]; /** * Records * * @var array */ public $records = [ [ 'id' => 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', 'url' => '/tasks/add', 'content_type' => 'text/html', 'status_code' => 200, 'requested_at' => '2014-08-21 7:41:12', ], ]; /** * Constructor * * @param string $connection The connection name to use. */ public function __construct($connection = null) { if ($connection) { $this->connection = $connection; } $this->init(); } }