src/Mapper.php
public function getByHash($columns, string $hash): ?IEntity
	{
		if ($this->manager->hasher === null) {
			throw new MissingServiceException('Hasher is missing');
		}
		return $this->toEntity($this->manager->hasher->hashSQL($this->builder(), $columns, $hash));
	}
public function getByHash($columns, string $hash): ?IEntity
	{
		if ($this->manager->hasher === null) {
			throw new MissingServiceException('Hasher is missing');
		}
		return $this->toEntity($this->manager->hasher->hashSQL($this->builder(), $columns, $hash));
	}
public function getByHash ( $ columns , string $ hash ) : ? IEntity { if ( $ this -> manager -> hasher === null ) { throw new MissingServiceException ( 'Hasher is missing' ) ; } return $ this -> toEntity ( $ this -> manager -> hasher -> hashSQL ( $ this -> builder ( ) , $ columns , $ hash ) ) ; }
Vrati radek podle hash sloupce
@param string|array $columns
@param string $hash
@return IEntity|null
Vrati radek podle hash sloupce