src/QueryBuilder.php
public function from(string $tblname): QueryBuilderInterface
	{
		// Split identifiers on spaces
		$identArray = explode(' ', \mb_trim($tblname));
		$identArray = array_map('\\mb_trim', $identArray);

		// Quote the identifiers
		$identArray[0] = $this->driver->quoteTable($identArray[0]);
		$identArray = $this->driver->quoteIdent($identArray);

		// Paste it back together
		$this->state->setFromString(implode(' ', $identArray));

		return $this;
	}
public function from(string $tblname): QueryBuilderInterface
	{
		// Split identifiers on spaces
		$identArray = explode(' ', \mb_trim($tblname));
		$identArray = array_map('\\mb_trim', $identArray);

		// Quote the identifiers
		$identArray[0] = $this->driver->quoteTable($identArray[0]);
		$identArray = $this->driver->quoteIdent($identArray);

		// Paste it back together
		$this->state->setFromString(implode(' ', $identArray));

		return $this;
	}
public function from ( string $ tblname ) : QueryBuilderInterface { // Split identifiers on spaces $ identArray = explode ( ' ' , \ mb_trim ( $ tblname ) ) ; $ identArray = array_map ( '\\mb_trim' , $ identArray ) ; // Quote the identifiers $ identArray [ 0 ] = $ this -> driver -> quoteTable ( $ identArray [ 0 ] ) ; $ identArray = $ this -> driver -> quoteIdent ( $ identArray ) ; // Paste it back together $ this -> state -> setFromString ( implode ( ' ' , $ identArray ) ) ; return $ this ; }
Specify the database table to select from

@param string $tblname
@return QueryBuilderInterface
Specify the database table to select from