for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JAQB\Query\Traits;
trait From
{
/**
* @var FromStatement
*/
protected $from;
* Sets the table for the query.
*
* @param string $table table name
* @return self
public function from($table)
$this->from->addTable($table);
return $this;
}
* Gets the from statement for the query.
* @return FromStatement
public function getFrom()
return $this->from;