for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Scrawler package.
*
* (c) Pranjal Pandey <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Scrawler\Arca\Manager;
/**
* Class to store table constraints.
class TableConstraint
{
public function __construct(
private string $foreignTableName,
private string $localColumnName,
private string $foreignColumnName,
) {
}
public function getForeignTableName(): string
return $this->foreignTableName;
public function getLocalColumnName(): string
return $this->localColumnName;
public function getForeignColumnName(): string
return $this->foreignColumnName;