Bluz\Db\Table::findRow PHP Method

findRow() public static method

Find row by primary key
public static findRow ( mixed $primaryKey ) : Row
$primaryKey mixed
return Row
    public static function findRow($primaryKey)
    {
        if (!$primaryKey) {
            return null;
        }
        $result = static::getInstance()->find($primaryKey);
        return current($result);
    }